Preserve SSH connection settings when opening new windows
Forward the invoking shell's remote executable and agent through the Linux prefork launcher. Resolve mounted tabs by stable ID for the New Window shortcut and reconnect to nested destinations from the local host.
This commit is contained in:
@@ -84,7 +84,10 @@ GUI, and returns. Each invocation starts an independent session unless you pass
|
||||
|
||||
Each new session starts with one tab and one shell. Windows opened with the
|
||||
New Window shortcut start a fresh session in the focused pane’s directory on
|
||||
the same host. Closing a window leaves its session available for reattachment.
|
||||
the same host. A remote window reuses the focused SSH connection’s executable
|
||||
and agent settings. For a nested SSH tab, the new window connects directly
|
||||
from your computer, so the nested host must be reachable using your local
|
||||
SSH configuration. Closing a window leaves its session available for reattachment.
|
||||
To choose a session, run `psyterm --list` and pass its ID to `psyterm --attach ID`. With no ID,
|
||||
`--attach` prefers the most recently used detached session and otherwise
|
||||
selects the most recently used attached session.
|
||||
@@ -157,9 +160,9 @@ 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 workspace’s daemon must be running this build for the tab close button
|
||||
and remote detach history. Existing protocol-v6 sessions on the SSH host
|
||||
can stay running.
|
||||
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
|
||||
on the SSH host can stay running.
|
||||
|
||||
SSH uses `BatchMode=yes`. Configure key or agent authentication and trust the
|
||||
host key before connecting. The remote host needs a compatible `psyterm`
|
||||
|
||||
Reference in New Issue
Block a user