ubuntu 12.04中xshell链接报: Connection closed by foreign host.错误
2015-01-21 12:22
1556 查看
ubuntu中xshell链接报:Read from socket failed: Connection reset by peer 或者 Connection closed by foreign host.错误解决办法:
该问题出现的原因是/etc/ssh目录下的文件的熟悉被修改了,从新修改回原始状态即可:
cd /etc/ssh
sudo chmod 644 ./*
sudo chmod 600 ssh_host_dsa_key
sudo chmod 600 ssh_host_rsa_key
sudo chmod 755 .
该问题出现的原因是/etc/ssh目录下的文件的熟悉被修改了,从新修改回原始状态即可:
cd /etc/ssh
sudo chmod 644 ./*
sudo chmod 600 ssh_host_dsa_key
sudo chmod 600 ssh_host_rsa_key
sudo chmod 755 .
相关文章推荐
- 修改sshd_config解决 xshell 链接 linux 错误 connection closed by foreign host
- 修改sshd_config解决 xshell 链接 linux 错误 connection closed by foreign host
- 修改sshd_config解决 xshell 链接 linux 错误 connection closed by foreign host
- Ubuntu 连接错误 Connection closed by foreign host
- XShell连不上本机虚拟机报:Connection closed by foreign host.
- xshell连接虚拟机上CentOS7提示Connection closed by foreign host
- XShell提示Connection closed by foreign host的问题 和 路由器分配IP的规则
- Xshell连接CentOS 6.9掉线 Connection closed by foreign host
- 【ubuntu】ssh连接ubuntu虚拟机被拒Connection closed by foreign host.
- XShell提示Connection closed by foreign host的问题 和 路由器分配IP的规则
- CentOS7.1 Xshell 经常掉线 Connection closed by foreign host
- centos + qmail + telnet +open localhost 25 出现 Connection closed by foreign host
- SSH 报错 connection closed by foreign host
- Connection closed by foreign host
- Escape character is '^]'. Connection closed by foreign host.
- Connection closed by foreign host问题解决
- macro.xml:116: com.jcraft.jsch.JSchException: connection is closed by foreign host
- SSH:Connection closed by foreign host
- Unencrypted connection refused. Goodbye. Connection closed by foreign host.
- Connection closed by foreign host.