尝试了开启kali的ssh,方法如下:

   1.修改sshd_config文件。命令:vim /etc/ssh/sshd_config

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

          Kali 开启 SSH 服务方法

   3.将#PermitRootLogin yes的注释去掉 //我的kali中默认去掉了注释

         Kali 开启 SSH 服务方法

 

   4.启动SSH服务,命令为:/etc/init.d/ssh start // 或者service ssh start

   5.验证SSH服务状态,命令为:/etc/init.d/ssh status

     6.添加开机自启动   update-rc.d ssh en

 



 

相关文章:

  • 2022-12-23
  • 2021-07-24
  • 2021-06-19
  • 2022-12-23
  • 2021-08-11
  • 2021-04-14
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2021-11-23
  • 2021-11-23
  • 2021-05-06
  • 2021-12-07
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
相关资源
相似解决方案