kali2 ssh

vi /etc/ssh/sshd_config

1.将#PasswordAuthentication no的注释去掉,并且将NO修改为YES

2.将#PermitRootLogin without-passwd  的注释去掉 ,改为 PermitRootLogin yes

3.启动SSH服务,命令为:/etc/init.d/ssh start  // 或者service ssh start
4.验证SSH服务状态,命令为:/etc/init.d/ssh status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.

posted @ 2015-08-19 15:01  orical  阅读(289)  评论(0编辑  收藏  举报