碎片:ssh有时卡,有时慢,试试加速ssh的方法

10440阅读 0评论2020-02-04 brjl
分类:LINUX

请参考:https://www.cnblogs.com/wjoyxt/p/3790537.html 

服务端步骤如下:
编辑配置文件 /etc/ssh/sshd_config
vim /etc/ssh/sshd_config
找到 UseDNS选项,如果没有注释,将其注释
#UseDNS yes
添加
UseDNS no


找到 GSSAPIAuthentication选项,如果没有注释,将其注释
#GSSAPIAuthentication yes
添加
GSSAPIAuthentication no


保存配置文件


重启 OpenSSH服务器
/etc/init.d/sshd restart
或者 systemctl restart sshd
上一篇:怎么老是记不住这几个命令
下一篇:ORACLE 19c linux 安装步骤(仅供参考)