When a SSH session is closed for some reason, I would like it could be re-connected. For example, right click the tab and select "Reconnect". Currently, I can only close the existing tab of closed SSH session and create a new one for reconnecting.
The most important reason for this feature:
I would love this too. I thought that was the whole point of using Mosh, so that when I鈥檓 in another app for a while and come back to terminus my session is still open...
on Windows 10 I don`t see reconnect command in right-clicked menu on a tab.
Moreover if a connection is lost in a tab, the tab will be closed automatically with an red marked error.
@Eugeny Why was this closed with no fix?
This was closed with a fix. The reconnect button is available in the terminal bar if a session was disconnected.

This was closed with a fix. The reconnect button is available in the terminal bar if a session was disconnected.
I just tested this on my terminus and I do not get any reconnect button. it will give a toast ERR message and close the tab.
Can you please capture DevTools console logs at the time of the disconnection? https://github.com/Eugeny/terminus/wiki/Debug-logs
GitHub
A terminal for a more modern age. Contribute to Eugeny/terminus development by creating an account on GitHub.
[ssh] [47m [49m Host key fingerprint:
log.service.ts:56 [ssh] Trying saved password
log.service.ts:56 [ssh-pig-22] Shell session ended
xtermFrontend.ts:117 Could not resize xterm Error: This API only accepts integers
at eval (xterm.js:1)
at Array.forEach (<anonymous>)
at e._verifyIntegers (xterm.js:1)
at e.resize (xterm.js:1)
at XTermFrontend.resizeHandler (xtermFrontend.ts:113)
at ResizeObserver.eval (xtermFrontend.ts:158)
XTermFrontend.resizeHandler @ xtermFrontend.ts:117
eval @ xtermFrontend.ts:158
This time the tab closed before I could test trying to reconnect.
@Eugeny Could you add 'reconnect' menu item on a tab?
Sometimes I just want to have a force reconnect option
This was closed with a fix. The reconnect button is available in the terminal bar if a session was disconnected.
I just tested this on my terminus and I do not get any reconnect button. it will give a toast ERR message and close the tab.
I have the same behaviour.
Do we have a solution for this yet? I an using terminus and need "reconnect" option badly.
EDIT: With the latest release, reconnect button is added. Thanks very much!!!
This one could be really useful, as if your connection drops you will still keep your "screen" and with simple "restart" you continue where you left of. ExtraPutty got this feature, but you have to sacrifice everything else :D
@martinzca
I installed the latest release, but I don't find reconnect button!


@mirismaili
Try the right corner of established SSH session.

@martinzca
Oh! Thanks. I didn't hover on that "three dots" icon, at all!