解决SecureCRT SSH连接时提示 The remote system refused the connection.
2017-12-20 14:16
573 查看
SecureCRT SSH连接时提示 The remote system refused the connection.
该问题的主要原因是未安装openssh-server
Ubuntu缺省安装了openssh-client,所以在这里就不安装了,如果你的系统没有安装的话,使用用apt-get安装上即可。
sudo apt-get install openssh-client
sudo /etc/init.d/ssh restart
安装openssh-server:
1. 首先在服务器上安装ssh的服务器端并重启。 < 4000 span style="color:rgb(255,0,0);">$ sudo aptitude install openssh-server
$ /etc/init.d/ssh restart ssh-server配置文件位于/etc/ssh/sshd_config,在这里可以定义SSH的服务端口,默认端口是22,你可以自己定义成其他端口号,如222,然后重启SSH服务。
2. 确认ssh-server已经正常工作。
$ netstat -tlp
tcp6 0 0 *:ssh *:* LISTEN -
看到上面这一行输出说明ssh-server已经在运行了。
3. 在客户端通过ssh登录服务器。
接下来会提示输入密码,然后就能成功登录到服务器上了
相关文章推荐
- Windows上使用SecureCRT软件连接Linux终端 — 解决问题;The remote system refused the connection
- SecureCRT 连接远程服务器提示: The remote system refused the connection.
- Windows上使用SecureCRT软件连接Linux终端 — 解决问题;The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- 如何解决secureCRT里面的The remote system refused the connection.
- []: secureCRT连接ubuntu问题- The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- 使用SecureCRT连接Dynamips时, 报错:The remote system refused the connection??前几天还是好好的,奇怪。。
- secureCRT连接ubuntu有关问题- The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- ssh连接The remote system refused the connection故障处理
- SecureCRT连接Ubuntu报The remote system refused the connection.解决方案
- 使用secureCRT连接linux虚拟机时出现“The remote system refused the connection.”
- SecureCRT连接Ubuntu报The remote system refused the connection.解决方案
- 使用SecureCRT连接CentOS虚拟机出现The remote system refused the connection
- SecureCRT无法连接VirtualBox中CentOS,报错为:“The remote system refused the connection.”
- SecureCRT连接Ubuntu报The remote system refused the connection.解决方案
- SecureCRT无法连接VirtualBox中CentOS,报错为:“The remote system refused the connection.”