kali连接Xshell
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/3200c2c73bf1360c07c3b8aa58e32936.png)
1.进入修改SSH设置
#vim /etc/ssh/sshd_config
2.修改配置文件
把PermitRootLogin without-password 改为 PermitRootLogin yes
StrictModes yes 也设为yes
3.重启一下SSH
/etc/init.d/ssh restart
4.连接完事
1.进入修改SSH设置
#vim /etc/ssh/sshd_config
2.修改配置文件
把PermitRootLogin without-password 改为 PermitRootLogin yes
StrictModes yes 也设为yes
3.重启一下SSH
/etc/init.d/ssh restart
4.连接完事