[KALI] 开启ssh远程连接
kali开启ssh服务详细过程
·
一、修改配置文件
1、用vim打开配置文件
vim /etc/ssh/sshd_config
2、PasswordAuthentication yes
在57行左右找到#PasswordAuthentication yes,将井号去掉
3、PermitRootLogin prohibit-password
在33行左右找到#PermitRootLogin prohibit-password
去掉井号,将“prohibit-password”改成“yes”
保存后退出
二、启动ssh服务
/etc/init.d/ssh start
三、设置开机自启ssh服务
update-rc.d ssh enable
更多推荐
已为社区贡献6条内容
所有评论(0)