Xshell不能连接Kali系统SSH的解决

  • 修改sshd_config文件
vim /etc/ssh/sshd_config

将#PasswordAuthentication yes的注释去掉
将#PermitRootLogin prohibit-password的注释去掉 ,prohibit-password 改为yes

  • 重启服务
service ssh restart

猜你喜欢

转载自www.cnblogs.com/renhaoblog/p/12975867.html