Burtlebot3---如何解决secureCRT里面的The remote system refused the connection.

Burtlebot3---如何解决secureCRT里面的The remote system refused the connection.

1. 首先在安装ssh的服务器端。

sudo apt-get install openssh-server

 

2. 启动ssh-server。

/etc/init.d/ssh restart

 

3. 确认ssh-server已经正常工作。

ps -e |grep ssh

 Burtlebot3---如何解决secureCRT里面的The remote system refused the connection.

如果只有ssh-agent那ssh-server还没有启动,需要/etc/init.d/ssh start,如果看到sshd那说明ssh-server已经启动了。

 

Ubuntu中配置openssh-server开机自动启动

打开/etc/rc.local文件,在exit 0语句前加入:

  sudo /etc/init.d/ssh start

再次开机,即可完成开机自启动的效果!