Connection closed by foreign host. Disconnected from remote host
来源:互联网 发布:卡饭 知乎 编辑:程序博客网 时间:2024/05/20 14:23
之前在宿舍使用无线网使用时,可以用XShell连接上Linux,如今换到公司的无线网络之后,出现这个问题:
使用后可用,但是过不了一段时间之又出现同样的问题。。。
Connection closed by foreign host. Disconnected from remote host
现检查了Linux虚拟机的网络配置,VMware中使用桥接并设置选中了桥接网卡,关闭了内置的防火墙,更改了IP地址并配置在同一网段中,,结果还是无效。百度之后查询到方法:
- cd /etc/ssh
- sudo chmod 644 ./*
- sudo chmod 600 ssh_host_dsa_key
- sudo chmod 600 ssh_host_rsa_key
- sudo chmod 755 .
- /etc/init.d/sshd restart
最后在各种网上搜索的方法都使用无效,并且基本确认配置无误的情况下,更改了下IP地址(同一个网段内),结果问题解决,发现原因为:公司人多,Linux虚拟机内配置的IP地址被其他人(同事)占用了。。。
-----------------------------哎,找了两三个小时
阅读全文
1 0
- Connection closed by foreign host. Disconnected from remote host
- Connection closed by foreign host.
- Connection closed by foreign host.
- Connection closed by foreign host.
- Connection closed by foreign host.
- Connection closed by foreign host
- Connection closed by foreign host
- Connection closed by foreign host
- Connection closed by foreign host
- Connection closed by foreign host问题解决
- ssh_exchange_identification: Connection closed by remote host
- ssh_exchange_identification: Connection closed by remote host
- ssh_exchange_identification: Connection closed by remote host
- ssh_exchange_identification: Connection closed by remote host
- ssh_exchange_identification: Connection closed by remote host
- ssh_exchange_identification: Connection closed by remote host
- 【转载】 ssh_exchange_identification: Connection closed by remote host
- ssh_exchange_identification: Connection closed by remote host
- 350. Intersection of Two Arrays II
- Integer相等判断
- SharePoint 2016:找不到 Project Web App 实例。请在访问此页面之前至少创建一个 PWA 实例。
- 深机笔记
- 常用数据库
- Connection closed by foreign host. Disconnected from remote host
- UDP中recvfrom函数与sendto函数分析
- MOOC清华《程序设计基础》第5章:八皇后问题-代码二
- spark sql基本使用方法介绍(转载)
- WIN32 程序中支持MFC的窗口
- 【转】yii2的事件机制
- Sublime Text 3 快捷键精华版
- Qt中图像类QImage,QPixmap
- 一颗初来炸道的洋芋