0

Hit the ssh button in the instance list and it worked without issue the first time.

Every since then, it hangs on 'transferring metadata'.

No errors, just sits there spinning forever.

mtyson
  • 193
  • 1
  • 10
  • How long is "forever" ? It can take a few minutes – Travis J Webb Nov 17 '19 at 04:51
  • 1
    You have to provide more details, logs etc. Did you change anything in the firewall rules or vpc routes after the successfull login ? do you have OS login enabled ? Any projectwide SSH keys ? Also - some browser extension can also cause problems with connecting. Try to do the following to get some logs: Try to connect via ssh button, if it fails or takes over 2 minutes go to the instance details (click on the name of the VM) and click on "Serial port 1" (console) and paste last 20 lines from the log - it might provide some clues to resolve this issue. – yyyyahir Nov 19 '19 at 14:10
  • 1
    Try also connecting from Cloud Shell or via gcloud with $ gcloud compute instances ssh {INSTANCE_NAME} – yyyyahir Nov 19 '19 at 14:11

1 Answers1

0

Seems to be working fine again. I restarted the instance. Not sure if that was the trick.

mtyson
  • 193
  • 1
  • 10