Can't start ssh session with -e #3691
Replies: 2 comments 2 replies
-
had the same issue, which resolved when i installed the TERMINFO on the remote machine: https://ghostty.org/docs/help/terminfo#copy-ghostty's-terminfo-to-a-remote-machine my command was |
Beta Was this translation helpful? Give feedback.
-
This is similar to #5575 , but I'm able to do this with one of two ways on my Mac (Sequoia 15.3): direct from the command line in ghostty configuration command = ssh <remote> I'm running the following Ghostty version (slightly stale
|
Beta Was this translation helpful? Give feedback.
-
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