The remote system refused the connection

问题描述: 使用SecureCRT客户端通过SSH连接Ubuntu时,出现The remote system refused the connection问题。

原因: Ubuntu没有安装SSH工具

解决方案:安装SSH相关工具

具体操作步骤如下:

1、安装 ssh

$ sudo apt install ssh

2、安装 ssh 服务端

$ sudo apt install openssh-server

3、安装 ssh 客户端

$ sudo apt install openssh-client

4、重新启动 ssh

$ sudo /etc/init.d/ssh restart

 5、确认 ssh 已启动

$ netstat -tlp

有下面一行表示 ssh 已启动

tcp6    0    0 [::]:ssh    [::]:*    LISTEN    -

原文地址:https://www.cnblogs.com/qingpeng/p/14311463.html