ssh连接慢或者自动卡死问题

版权声明:博客地址:blog.csdn.net/x356982611,未经允许不得转载,不得转载,不得转载 https://blog.csdn.net/x356982611/article/details/82108450

分析

ssh连接的时候加上-v选项,看看哪个地方导致了ssh连接比较慢

这里写图片描述

可以看到Next authentication method:gssapi-with-mic 这种验证方式重试了几次然后失败了,问题应该出在这里

解决方案

vim /etc/ssh/ssh_config

GSSAPIAuthentication  yes改为no

猜你喜欢

转载自blog.csdn.net/x356982611/article/details/82108450