美文网首页
关闭UseDNS和GSSAPIAuthentication选项,

关闭UseDNS和GSSAPIAuthentication选项,

作者: Mark87 | 来源:发表于2016-09-12 23:43 被阅读0次

    编辑配置文件”/etc/ssh/sshd_config”

    vim /etc/ssh/sshd_config

    找到UseDNS选项,如果没有注释,将其注释

    #UseDNS yes

    添加

    UseDNS no

    找到GSSAPIAuthentication选项,如果没有注释,将其注释

    #GSSAPIAuthentication yes

    添加

    GSSAPIAuthentication no

    保存配置文件

    重启OpenSSH服务器

    service sshd restart

    相关文章

      网友评论

          本文标题:关闭UseDNS和GSSAPIAuthentication选项,

          本文链接:https://www.haomeiwen.com/subject/mxcmettx.html