apt install openssh-server
sudo su #1.切换到root账户
passwd #2.修改root账户密码
vi /etc/ssh/sshd_config #1.编辑sshd_config文件
service sshd restart #重启服务不行的话就reboot
//
标签:sshd,账户,root,SSH,ubuntu18.04,config From: https://www.cnblogs.com/RYSBlog/p/17749438.html