asbru-cm / asbru-cm

Ásbrú Connection Manager is a user interface that helps organizing remote terminal sessions and automating repetitive tasks.

Home Page:https://www.asbru-cm.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prompt to reconnect after disconnect - SSH

clickwir opened this issue · comments

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
If a ssh session disconnects, like I rebooted the remote host or it disconnected unexpectedly, the tab disconnects and gives a keyboard option to close the tab.

Describe alternatives you've considered
Would like a keyboard option and message to attempt reconnecting to host.

Additional context
MobaXTerm has a nice option that could be duplicated.

image

It's already working like this, isn't it ?

You should see this message:

DISCONNECTED (PRESS <ENTER> TO RECONNECT) (Sat Apr  9 18:08:56 2022)

Unless you have checked the option to close terminal on disconnection:

image

If so, simply uncheck it and it will behave as desired.

I'm sorry, I got the options backwards.

I meant it would be nice to have a shortcut key to Exit Tab, along with the Reconnect option.

The default is Ctrl+F4, that will close the terminal. You can assign another key if you want.

But OK, your suggestion is to have this described in the message that is displayed.