修改sshd_config文件,命令為:
vi /etc/ssh/sshd_config
將#PermitRootLogin without-password注釋去掉修改為
PermitRootLogin yes
將#PasswordAuthentication no的注釋去掉,並且
將NO修改為YES //kali中默認是yes
保存,退出
啟動SSH服務
命令為:
/etc/init.d/ssh start
或者
service ssh start
查看SSH服務狀態是否正常運行,命令為:
/etc/init.d/ssh status
或者
service ssh status
使用SSH登錄工具(Putty\SecureCRT\XShell)就可以登錄kali