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

前端 未结 8 2470
醉酒成梦
醉酒成梦 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

    One way to solve this question is copy a ssh binary from an older Mac and place this binary in path before /usr/bin/ssh, ex: (copy from el capitan box) /usr/bin/ssh => ~/bin/ssh, then add $HOME/bin to your PATH before anything else.

    The reason is GSSAPITrustDNS and GSSAPIKeyExchange patches are no longer applied by apple, Starting with Sierra when they upgraded OpenSSH to 7.2p2, So one options is to downgrade to the old OS version, if you have to use kerberos+ ssh.

提交回复
热议问题