1 根据实际情况将以下2处修改为正确的值

vi /etc/hosts

127.0.0.1       localhost
::1             localhost
192.168.228.130 CentOS-68-x64


vi /etc/resolv.conf

nameserver 192.168.228.2


2 配置 sshd_config

vi /etc/ssh/sshd_config

UseDNS no
GSSAPIAuthentication no

之后重启sshd服务:

service sshd restart



本文链接地址: SSH,FTP等连接到Linux需要等待一段时间(卡住)的解决方法
https://blog.qingfengju.com/index.asp?id=403

上一篇: CentOS7修改字符界面的分辨率
下一篇: CentOS6.8编译安装gcc4.8.5

分类:Linux 查看次数:14346 发布时间:2017/1/12 23:16:52