Ubuntu不能通过远程工具连接

现象:在通过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等工具发现可以连接了

猜你喜欢

转载自www.cnblogs.com/maohai-kdg/p/11757119.html
今日推荐