secureCRT连接ubuntu问题- The remote system refused the connection
2014-09-04 17:18
549 查看
解决方案:
1.安装openssh-server
Ubuntu缺省安装了openssh-client,所以在这里就不安装了,如果你的系统没有安装的话,再用sudo apt-get install openssh-server安装上即可。
1.1输入命令:sudo apt-get install openssh-server
1.2确认openssh-server是否启动了:
ps -e |grep ssh
正常情况下结果为:
1584 ? 00:00:00 ssh-agent
2299 ? 00:00:00 sshd
1.3如果只有ssh-agent,则openssh-server还没有启动,需要/etc/init.d/ssh start,如果看到sshd那说明openssh-server已经启动了。
2.ssh-server配置文件位于/etc/ssh/sshd_config,在这里可以定义SSH的服务端口,默认端口是22,你可以自己定义成其他端口号,如222。然后重启SSH服务:
sudo /etc/init.d/ssh restart
1.安装openssh-server
Ubuntu缺省安装了openssh-client,所以在这里就不安装了,如果你的系统没有安装的话,再用sudo apt-get install openssh-server安装上即可。
1.1输入命令:sudo apt-get install openssh-server
1.2确认openssh-server是否启动了:
ps -e |grep ssh
正常情况下结果为:
1584 ? 00:00:00 ssh-agent
2299 ? 00:00:00 sshd
1.3如果只有ssh-agent,则openssh-server还没有启动,需要/etc/init.d/ssh start,如果看到sshd那说明openssh-server已经启动了。
2.ssh-server配置文件位于/etc/ssh/sshd_config,在这里可以定义SSH的服务端口,默认端口是22,你可以自己定义成其他端口号,如222。然后重启SSH服务:
sudo /etc/init.d/ssh restart
相关文章推荐
- []: secureCRT连接ubuntu问题- 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
- secureCRT连接ubuntu问题- 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.解决方案
- Windows上使用SecureCRT软件连接Linux终端 — 解决问题;The remote system refused the connection
- Windows上使用SecureCRT软件连接Linux终端 — 解决问题;The remote system refused the connection
- SecureCRT 连接远程服务器提示: The remote system refused the connection.
- 使用SecureCRT连接CentOS虚拟机出现The remote system refused the connection
- SecureCRT远程登陆Ubuntu出现 The remote system refused the connection.
- 使用secureCRT连接linux虚拟机时出现“The remote system refused the connection.”
- 使用SecureCRT连接Dynamips时, 报错:The remote system refused the connection??前几天还是好好的,奇怪。。
- SecureCrt链接ubuntu问题--The romote systemrefused the connection
- SecureCRT无法连接VirtualBox中CentOS,报错为:“The remote system refused the connection.”
- SSH连接Ubuntu虚拟机失败:The remote system refused connection
- 解决SecureCRT SSH连接时提示 The remote system refused the connection.
- SecureCRT无法连接VirtualBox中CentOS,报错为:“The remote system refused the connection.”