Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.6k views
in Technique[技术] by (71.8m points)

Getting `ssh client_loop: send disconnect: Broken pipe` on ipv6

I started getting ssh client_loop: send disconnect: Broken pipe on ipv6 after some inactivity time on ssh after my ISP switched to ipv6.

While on ipv4, I could ssh to any server and the connection would keep alive with the default configs.

I tried to set ServerAliveInterval 60 in the client and it improved a bit, but I'm still getting disconnected after some hours. The target server/sshd is with the default config.

With the ssh verbose enabled, I get all keeplive packets every 60 seconds as follows:

debug3: send packet: type 80
debug3: receive packet: type 82
debug3: send packet: type 80
debug3: receive packet: type 82

I'm not sure if this is related, but I have bridge connection between my ISP modem and my Asus RT-AC3200 Router. My ipv6 connection type in my router is set to Native

Any ideas what it could be?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.5k users

...