摘要: 使用普通用户登录Ubuntu系统,打开命令行窗口 更改root用户密码,命令:sudo passwd root 首先输入当前用户的密码 然后输入root账户的密码 确认root用户的密码 编辑ssh的配置文件,命令:nano /etc/ssh/sshd_config 在Authentication部 阅读全文
posted @ 2018-03-08 16:47 姑苏慕容复 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 在文件/etc/init/ssh.conf中,有一句 start on filesystem or runlevel [2345] 如果想关闭自动启动的话,把这一局修改为start on runlevel[2345]或者直接注释掉。 相关命令: 但是以上设置完成后我重启系统发现ssh服务依旧没有启动 阅读全文
posted @ 2018-03-08 15:46 姑苏慕容复 阅读(400) 评论(1) 推荐(0) 编辑