ubuntu 18.04 安装 openssh
本文介绍了如何在Linux系统中安装SSH服务器,通过`sudo apt install -y openssh-server`进行安装。接着,使用`vim`编辑`/etc/ssh/sshd_config`配置文件,允许root用户密码登录。配置完成后,通过`systemctl restart sshd`重启服务。最后,使用`ssh root@192.168.56.102`进行远程连接验证。
摘要由CSDN通过智能技术生成