ubuntu16.04 安装 openssh 允许 root 登
2018-03-19 本文已影响0人
余带盐
- 安装和配置
- 设置
root
密码
sudo passwd root
image.png
- 下载
apt-get install openssh-server
- 配置
gedit /etc/ssh/sshd_config
... PermitRootLogin yes ...
- 重启
/etc/init.d/ssh restart
image.png