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