Ubuntu 12.04中xshell链接报: Connection closed by foreign
Ubuntu 12.04中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 .
相关推荐
andylanzhiyong 2020-06-02
insularisland 2020-05-14
bluecarrot 2020-02-18
LUOPING0 2020-02-13
csdnyasin 2020-01-30
wangchao 2020-01-27
老谢的自留地 2020-01-17
FrederickBala 2020-01-16
jiangtie 2019-12-28
csdnyasin 2019-12-30
ykmail 2013-07-29
杨立峰 2013-03-28
lonesomer 2013-06-08
xiaoxiaolovei 2013-07-21
fenxinzi 2019-12-05