kali开启ssh
2019-12-05 本文已影响0人
IT胖
修改sshd_config文件
vim /etc/ssh/sshd_config
添加或修改以下两行
PermitRootLogin yes
PasswordAuthentication yes
重启ssh
/etc/init.d/ssh start
或者
service ssh start
查看ssh运行状态
ps -e | grep ssh

添加ssh开机启动
update-rc.d ssh enable