Ubuntu不能通过远程工具连接

我们两清 提交于 2019-12-02 18:15:11

现象:在通过CRT连接Ubuntu的时候出现无法连接的情况

原因:没有安装ssh服务

解决办法:

步骤一:安装openssh-server

sudo apt-get install openssh-server

步骤二:

修改/etc/ssh/sshd_config

vim /etc/ssh/sshd_config

在PerminRootLogin prohibit-password下面添加如下信息

PerminRootLogin yes

 

 步骤三:

通过CRT等工具发现可以连接了

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!