安装openssh-server软件包
sudo apt-get install openssh-server
修改配置使可用root账户密码登录连接
sudo vim /etc/ssh/sshd_config

编辑此文件,新增如图所示一行配置,然后重启sshd服务
sudo systemctl restart sshd
sudo apt-get install openssh-server
sudo vim /etc/ssh/sshd_config
编辑此文件,新增如图所示一行配置,然后重启sshd服务
sudo systemctl restart sshd
本文标题:ubuntu安装openssh-server
本文链接:https://www.haomeiwen.com/subject/eefwmrtx.html
网友评论