openssh-server 配置安装ssh服务器在Ubuntu.. LTS子系统安装openssh-server。在Ubuntu子系统中,执行一下命令: sudo apt remove openssh-serversudo apt install openssh-server 编辑远程登录 配置信息修改;etc;ssh;sshd_config配置文件。 在Ubuntu子系统中,执行一下命令: vim /etc/ssh/sshd_config ()修改Port和ListenAddress ()修改PermitRootLogin ()修改PasswordAuthentication ()重新启动ssh服务.在Ubuntu子系统中,执行一下命令 service ssh restart D;D;D;D;D;D;以上D;D;D;D;D;D;