开启SSH 使用SSH登录工具连接虚拟机
发布时间:2020-12-15 08:23:32 所属栏目:Java 来源:网络整理
导读:修改sshd_config文件,命令为: vi /etc/ssh/sshd_config 将#PermitRootLogin without-password注释去掉修改为 PermitRootLogin yes 将#PasswordAuthentication no的注释去掉,并且 将NO修改为YES //kali中默认是yes ? ?保存,退出 启动SSH服务 命令为: /et
修改sshd_config文件,命令为: 将#PasswordAuthentication no的注释去掉,并且 ? ?保存,退出 查看SSH服务状态是否正常运行,命令为: /etc/init.d/ssh status 或者 service ssh status (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |