xshell连接kali
连接不上可能是ssh没有开启
systemctl status ssh
systemctl start ssh
systemctl enable ssh update-rc.d ssh enable 开机自启动
修改ssh配置文件vim /etc/ssh/ssh_config
取消passwordauthentication前注释 yes
密码拒绝登陆解决:vim /etc/ssh/sshd_config


systemctl restart ssh
本文详细介绍如何使用XShell成功连接Kali系统,包括解决SSH未开启、密码认证失败等问题,通过修改配置文件实现开机自启动SSH服务。
3702





