File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,6 +69,20 @@ Passing `--cache=false` to `+ssh` bypasses both the read and the
6969write for a single invocation, without touching the cache. This is
7070useful for scripting ("always reinstall") and for debugging issues.
7171
72+ ### Alternate ` ssh ` Executable
73+
74+ By default ` +ssh ` exec's the first ` ssh ` on your ` PATH ` . The
75+ ` --ssh=PATH ` flag points it at a specific client instead:
76+
77+ ``` sh
78+ ghostty +ssh --ssh=/opt/homebrew/bin/ssh -- user@example.com
79+ ```
80+
81+ This is useful when you have an alternate OpenSSH build or wrapper
82+ client that you want ` +ssh ` to use. The path must resolve to an
83+ executable; if it doesn't, ` +ssh ` fails rather than silently falling
84+ back to the ` PATH ` ` ssh ` .
85+
7286## The ` +ssh-cache ` CLI Action
7387
7488` ghostty +ssh-cache ` manages the terminfo cache used by ` +ssh ` :
You can’t perform that action at this time.
0 commit comments