Kali连接不上ssh,ssh连接不上
**Kali连接不上ssh**
1.修改sshd_ config文件
vim /etc/ssh/sshd_ config
将#PasswordAuthentication yes的注释去掉
将#PermitRootL ogin prohibit-password的注释去掉,prohibit-password改为yes
2.重启服务
service ssh restart
3.如果还不行,执行
#ssh-keygen -t rsa -f /etc/ssh/ssh_ host _rsa_ _key
设置ssh开机自启
update-rc.d ssh enable //设置ssh开机自启
update-rc.d ssh disabled //设置关闭
http://www.dengb.com/Linuxjc/1378893.htmlwww.dengb.comtruehttp://www.dengb.com/Linuxjc/1378893.htmlTechArticleKali连接不上ssh,ssh连接不上 **Kali连接不上ssh** 1.修改sshd_ config文件 vim /etc/ssh/sshd_ config 将#PasswordAuthentication yes的注释去掉 将#PermitRootL ogi...