kali连接Xshell

1.进入修改SSH设置
#vim /etc/ssh/sshd_config
2.修改配置文件
把PermitRootLogin without-password 改为 PermitRootLogin yes
StrictModes yes 也设为yes
3.重启一下SSH
/etc/init.d/ssh restart
4.连接完事
参考文献:https://www.patreon.com/JedNovah