一、配置SSH參數(shù)
修改sshd_config文件,命令為:
vi /etc/ssh/sshd_config
1、將#PasswordAuthentication no的#注釋去掉,并且將NO修改為YES //kali中默認(rèn)是yes
2、添加PermitRootLogin yes,如下圖1-1

1-1
二、啟動(dòng)SSH服務(wù)
service sshd start
修改sshd_config文件,命令為:
vi /etc/ssh/sshd_config
1、將#PasswordAuthentication no的#注釋去掉,并且將NO修改為YES //kali中默認(rèn)是yes
2、添加PermitRootLogin yes,如下圖1-1
service sshd start