hzyitc / armbian-onecloud

Armbian for onecloud. 玩客云用armbian
1.19k stars 235 forks source link

直刷没多久SSH死掉 #57

Open Shiraha-cloud opened 1 year ago

Shiraha-cloud commented 1 year ago

使用版本: Armbian_22.11.0-trunk_Onecloud_bullseye_edge_5.18.19.burn.img.xz 板子:玩客云1.0老版 情况:直刷SSH22端口连接后大概安装一个DOCKER的时候SSH就会挂掉就再也连接不上(挂掉时的报错Socket error Event: 32 Error: 10053)

hzyitc commented 1 year ago

接上HDMI,看看是错在哪了

Shiraha-cloud commented 1 year ago

接上HDMI,看看是错在哪了

目前还没有连HDMI查看过 昨天重刷了Armbian_22.11.0-trunk_Onecloud_bullseye_current_5.15.72.burn.img这个版本,到睡觉前一直没有问题(没安装DOCKER),大概3~4个小时,但是现在这个点我到家SSH已经连不上去了,不过上面挂的ALIST还在正常运行,所以估计是SSH出问题了,不是系统不断重启。 Connecting to 192.168.1.194:22... Connection established. To escape to local shell, press 'Ctrl+Alt+]'. Connection closing...Socket close.

Connection closed by foreign host.

Disconnected from remote host(新建会话) at 18:24:24.

Type `help' to learn how to use Xshell prompt.

amiter commented 1 year ago

实际上 看起来是网卡挂了,导致的ssh起不来。6.0.9,5.15.79-meson都出现这个问题,重启后,仍然网卡是down的状态,ifconig里eth0有错误:device interrupt 39

leapyear1969 commented 8 months ago

遇到同样的错误,重启之后,问题消失。但是过一段时间就会连接不上。

ssh -p 223 root@111.111.112.50
kex_exchange_identification: read: Connection reset
Connection reset by 111.111.112.50 port 223

Debug 日志:

ssh -v root@192.168.3.52 -p 223
OpenSSH_8.4p1 Debian-5+deb11u3, OpenSSL 1.1.1w  11 Sep 2023
debug1: Reading configuration data /home/jason/.ssh/config
debug1: /home/jason/.ssh/config line 1: include /home/jason/qinglong/data/ssh.d/*.config matched no files
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to 192.168.3.52 [192.168.3.52] port 223.
debug1: Connection established.
debug1: identity file /home/jason/.ssh/id_rsa type -1
debug1: identity file /home/jason/.ssh/id_rsa-cert type -1
debug1: identity file /home/jason/.ssh/id_dsa type -1
debug1: identity file /home/jason/.ssh/id_dsa-cert type -1
debug1: identity file /home/jason/.ssh/id_ecdsa type -1
debug1: identity file /home/jason/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/jason/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/jason/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/jason/.ssh/id_ed25519 type -1
debug1: identity file /home/jason/.ssh/id_ed25519-cert type -1
debug1: identity file /home/jason/.ssh/id_ed25519_sk type -1
debug1: identity file /home/jason/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/jason/.ssh/id_xmss type -1
debug1: identity file /home/jason/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3
kex_exchange_identification: read: Connection reset by peer
Connection reset by 192.168.3.52 port 223

重启之后的状态:

image