操作方法:
1、編輯sshd_config文件
root@kali:~# vi /etc/ssh/sshd_config
2、檢查如下配置項:
PasswordAuthentication yes
PermitRootLogin yes
3、啓動ssh服務
root@kali:~# /etc/init.d/ssh start
[ ok ] Starting OpenBSD Secure Shell server: sshd.
或者:
oot@kali:~# service ssh start
[ ok ] Starting OpenBSD Secure Shell server: sshd.