Reconnect interrupted SSH sessions with cancellable backoff
This commit is contained in:
@@ -183,6 +183,13 @@ to find remote session IDs. Closing the window and reattaching to the local
|
||||
session restores its mixed tab bar. The **+** button creates a local tab in
|
||||
this workspace. Splitting a remote pane creates another shell on its SSH host.
|
||||
|
||||
If an established SSH connection drops, psyTerm keeps its tabs and tries to
|
||||
reattach to the same remote session. The active tab shows the retry status and
|
||||
a **Cancel** button. Retries start after one second and back off to a maximum
|
||||
of 30 seconds between attempts. Other local tabs stay usable. Cancel detaches
|
||||
the interrupted SSH tabs, or closes the window for a standalone SSH session.
|
||||
You can reattach later if the remote daemon still has the session.
|
||||
|
||||
To detach, hover over a remote tab and click **×**, or focus it and choose
|
||||
**Detach remote session** in the command palette. If that SSH session has
|
||||
several tabs, they detach together. Its shells, running jobs, and scrollback
|
||||
@@ -195,8 +202,8 @@ in a window. The local daemon remembers these targets until it exits.
|
||||
If you detach a nested SSH session, run the command on the host that opened it.
|
||||
You can also select a session explicitly with `psyterm --remote user@host --attach ID`.
|
||||
|
||||
The local daemon must be running this build to close tabs, remember detached
|
||||
sessions, and pass SSH settings to new windows. Existing protocol-v6 sessions
|
||||
The local daemon must be running this build to reconnect SSH tabs, remember
|
||||
detached sessions, and pass SSH settings to new windows. Existing protocol-v6 sessions
|
||||
on the SSH host can stay running.
|
||||
|
||||
SSH uses `BatchMode=yes`. Configure key or agent authentication and trust the
|
||||
|
||||
Reference in New Issue
Block a user