修改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
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
本文标题:kali开启ssh
本文链接:https://www.haomeiwen.com/subject/ccndgctx.html
网友评论