gpt4 book ai didi

macos - 更新Mac OS Sierra后,无法使用ssh登录远程系统,如何解决此问题?

转载 作者:行者123 更新时间:2023-12-03 11:36:50 26 4
gpt4 key购买 nike

当我使用user@ip登录远程系统时,它的报告如下:

debug1: /etc/ssh/ssh_config line 17: Applying options for *
/etc/ssh/ssh_config: line 20: Bad configuration option: gssapikeyexchange
/etc/ssh/ssh_config: line 21: Bad configuration option: gssapitrustdns
/etc/ssh/ssh_config: terminating, 2 bad configuration options

最佳答案

/etc/ssh/ssh_config中注释以下行

# System-wide defaults set by MIT Kerberos Extras
Host *
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
GSSAPIKeyExchange yes


# System-wide defaults set by MIT Kerberos Extras
#Host *
# GSSAPIAuthentication yes
# GSSAPIDelegateCredentials yes
# GSSAPIKeyExchange yes

关于macos - 更新Mac OS Sierra后,无法使用ssh登录远程系统,如何解决此问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39634166/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com