CRT链接ubuntu报错The remote system refused the connection

╰+攻爆jí腚メ 2022-08-22 14:26 101阅读 0赞

CRT链接ubuntu报错The remote system refused the connection,原因一般是ubuntu没有安装或者启动ssh服务。

安装ssh服务:

  1. sudo apt-get install openssh-server

安装完自动就启动了,而且是开机自动自动启动,这时用CRT就可以连接了。

如果是安装了openssh-server,查看是否启动的命令:

  1. ps -e |grep ssh

如果什么都没显示则表示没有启动,启动命令:

  1. /etc/init.d/ssh start

发表评论

表情:
评论列表 (有 0 条评论,101人围观)

还没有评论,来说两句吧...

相关阅读