打开/etc/ssh/sshd_config文件
sudo gedit /etc/ssh/sshd_config
将GSSAPIAuthentication 设置未no,同时添加UsePAM no 、UseDNS no这两项
# GSSAPI options
GSSAPIAuthentication no
UsePAM no
UseDNS no
保存后重启ssh服务
sudo service ssh restart
- 文章链接: https://blog.zhangcun.store/2022/04/24/ubuntu-ssh-deng-ru-su-du-tai-man-de-jie-jue-ban-fa/
- 版权声明: 本网站所有文章除特别声明外,均采用 CC BY-NC-ND 4.0 许可协议。转载请注明出处!
你的赏识是我前进的动力
支付宝
微信
