一、配置SSH参数 修改sshd_config文件,命令为: vi /etc/ssh/sshd_config 1、将#PasswordAuthentication no的#注释去掉,并且将NO修改为YES //kali中默认是yes 2、添加PermitRootLogin yes,如下图1-1 二、启动SSH服务 service sshd start