Bug 3144

Summary: Auto-reconnect capability
Product: Portable OpenSSH Reporter: Yuk! <fadamo>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: enhancement CC: dtucker
Priority: P5    
Version: 8.2p1   
Hardware: Other   
OS: All   

Description Yuk! 2020-04-03 00:24:39 AEDT
It would amazing if SSH had the ability to auto-reconnect after a network failure or similar, just like RDP does.

Thank you
Bye
Comment 1 Darren Tucker 2020-04-03 09:16:56 AEDT
There was an attempt to do this previously (UseRoaming) however it was the source of some security problems and was ultimately removed.  I don't think we want to repeat that.
Comment 2 Darren Tucker 2020-04-03 09:41:13 AEDT
Depending on exactly what you want, you could get something similar with a shell one-liner using screen or tmux:

$ while ! ssh -tt yourserver "screen -R -D myshell";do sleep 1; done
Comment 3 Yuk! 2020-04-04 00:34:41 AEDT
Ok if you have a linux pc.
But mine is at my office due to COVID19, I'm using a Windows pc at home with Putty.
I don't have bash/ssh....

I'd like ssh was more network (fault) resistant.