Can't start ssh session with -e #3691
Unanswered
caferen
asked this question in
Feature Requests, Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to start an ssh session on a new window with
open -n /Applications/Ghostty.app --args -e ssh <remote>
so that the window does not parse the host shell config which spawns a tmux session. This allows me to start a tmux session on the remote device instead (host and remote share configs so same tmux bindings conflict).However, windows spawned with this command will immediately exit as soon as the connection is established and the remote shell starts.
I've also tried (unsuccessfully):
open -n /Applications/Ghostty.app --args --quit-after-last-window-closed=false -e ssh <remote>
open -n /Applications/Ghostty.app --args --initial-command="ssh <remote>"
open -n /Applications/Ghostty.app --args --command="ssh <remote>"
Beta Was this translation helpful? Give feedback.
All reactions