咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
通过命令
ssh -v root@10.10.90.204
查看ssh的调试信息,发现时间消耗较长的步骤为:
debug1: Next authentication method: gssapi-with-mic
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
解决办法:
1、将目标机器的ip和主机名添加到本机的/etc/hosts里面,例如:
10.10.90.204 node4
2、修改/etc/ssh/ssh_config,将GSSAPIAuthentication yes,修改为GSSAPIAuthentication no。