After update Mac OS Sierra, Can not use ssh login remote system,how can I fix this?

前端 未结 8 2746
醉酒成梦
醉酒成梦 2021-02-07 01:34

when I use user@ip to login remote system, it report like this:

debug1: /etc/ssh/ssh_config line 17: Applying options for *
/etc/ssh/ssh_config: lin         


        
8条回答
  •  长发绾君心
    2021-02-07 01:44

    1. My config /etc/ssh/ssh_config was ok and was never changed, I found in ~/.ssh/config the rows I needed to change and it solve that issue.

    2. if you are getting:

    Permissions 0644 for ‘~/.ssh/id_rsa[your file]’ are too open

    run: chmod 600 ~/.ssh/id_rsa[your file] to solve it.

提交回复
热议问题