当前位置: 首页 > Linux

linux解决ssh连接慢的问题

时间:2023-04-06 04:59:13 Linux

备份文件cp/etc/ssh/sshd_config/etc/ssh/sshd_config.bak编辑文件vi/etc/ssh/sshd_configinput/findGSSAPIAuthentication设置如下GSSAPIAuthenticationno#是否允许使用基于GSSAPI的用户身份验证。默认值为“否”。仅用于SSH-2详解输入/搜索UseDNS设置如下UseDNSno#yes开启防止客户端欺骗详解restartsshservicesystemctlrestartsshd亲测有效