Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

后端 未结 11 1112
有刺的猬
有刺的猬 2020-12-04 16:42

After creating the instance, I can login using gcutil or ssh. I tried copy/paste from the ssh link listed at the bottom of the instance and get the same error message.

11条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-04 17:12

    I just experienced a similar message [ mine was "Permission denied (publickey)"] after connecting to a compute engine VM which I just created. After reading this post, I decided to try it again.

    That time it worked. So i see 3 possible reasons for it working the second time,

    • connecting the second time resolves the problem (after the ssh key was created the first time), or
    • perhaps trying to connect to a compute engine immediately after it was created could also cause a problem which resolves itself after a while, or
    • merely reading this post resolves the problem

    I suspect the last is unlikely :)

提交回复
热议问题