1、开启ssh 服务器的debug模式,定位具体的报错的位置 ,-v为开启debug模式
ssh root@192.168.1.2 -v
2、根据错误提示,如果是GSS错误,则修改 /etc/ssh/ssh_config文件
设置 GSSAPIAuthentication no
根据上述流程即可解决问题。
1、开启ssh 服务器的debug模式,定位具体的报错的位置 ,-v为开启debug模式
ssh root@192.168.1.2 -v
2、根据错误提示,如果是GSS错误,则修改 /etc/ssh/ssh_config文件
设置 GSSAPIAuthentication no
根据上述流程即可解决问题。