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

后端 未结 11 1111
有刺的猬
有刺的猬 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:18

    Ensure that the permissions on your home directory and on the home directory of the user on the host you're connecting to are set to 700 ( owning user rwx only to prevent others seeing the .ssh subdirectory ).

    Then ensure that the ~/.ssh directory is also 700 ( user rwx ) and that the authorized_keys is 600 ( user rw ) .

    Private keys in your ~/.ssh directory should be 600 or 400 ( user rw or user r )

提交回复
热议问题