I connect to my home machine using ssh. Unfotunately the network is
flakey. Whenever the network goes down even briefly, the ssh connection
dies (ie it delivers no more infomationfrom my machine to home or vice versa). Since this seems to happen about every few minutes, it makes
the connection really hard to use. Is there some way of telling ssh not
to drop the connection when the network goes down, but to just
reestablish it when it comes back up and contiues the connection?
On 2024-09-14, William Unruh <unruh@invalid.ca> wrote:
I connect to my home machine using ssh. Unfotunately the network is
flakey. Whenever the network goes down even briefly, the ssh connection
dies (ie it delivers no more infomationfrom my machine to home or vice
versa). Since this seems to happen about every few minutes, it makes
the connection really hard to use. Is there some way of telling ssh not
to drop the connection when the network goes down, but to just
reestablish it when it comes back up and contiues the connection?
More information. My home machine is a Mageia 9 desktop running openssh.
This problem also occurs with my work desktop. The laptop is a Magein 9
(Dell xps13) machine as well. If I leave a connection open without any traffice for a while ( minutes not hours) the connection will freeze. If
I open another terminal, and use ping say, my laptop is still connected
to my home machines. But that terminal is for the previous connection is frozen. (nothing happens if I tryto type to it).
I have no idea how to debug this extremely annoying behavior.
Sysop: | Luis Silva |
---|---|
Location: | Lisbon |
Users: | 763 |
Nodes: | 10 (0 / 10) |
Uptime: | 179:35:26 |
Calls: | 111 |
Files: | 46,971 |
Messages: | 11,214 |