Bug 3144 - Auto-reconnect capability
Summary: Auto-reconnect capability
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 8.2p1
Hardware: Other All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-03 00:24 AEDT by Yuk!
Modified: 2020-04-04 00:34 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.