SSH-integration #3087
Replies: 3 comments 3 replies
-
+1 for this. I am a lover of Kitty, and have also been enjoying Ghostty quite a bit these past two days (thanks and congrats for the great work!). I will probably be using both back and forth in the future. Both seem great! |
Beta Was this translation helpful? Give feedback.
-
I know this isn't a builtin solution but here's a workaround that allows you to assign an ssh command to a window and its future tabs Create directories that map to ssh hosts mkdir ~/ssh-into/web-server
mkdir ~/ssh-into/database-server
mkdir ~/ssh-into/mail-server Add a function to your shell that will ssh into your servers # ~/.zshrc
ssh-into-server() {
PWD=$HOME/ssh-into/$1
ssh $1
}
[[ $PWD = $HOME/ssh-into/web-server ]] && ssh-into-server web-server
[[ $PWD = $HOME/ssh-into/database-server ]] && ssh-into-server database-server
[[ $PWD = $HOME/ssh-into/mail-server ]] && ssh-into-server mail-server Run There may be other ways to do this but |
Beta Was this translation helpful? Give feedback.
-
Other kind of SSH integration I would like to see is something in the idea of Kitty Remote Files, where you can "easily Edit, Open or Download files from a computer into which you are SSHed". |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm a former Wezterm user, and the main reason I switched over to Ghostty after trying it was stability and native GTK look. The one thing I miss after about a month or so of usage is ssh-integration.
In Wezterm, the user is able to launch new tabs or other forms of sessions in a remote host, and subsequent sessions launched from there are also within the remote host.
I don't know the logistics, design decisions, and implementation work required to do this for Ghostty, but I thought I'd bring it up.
There's #2353 for an API to and #1701 for a server model (which I personally prefer for keeping persistent remote sessions), but I'm curious to know if this is a planned feature or not on the roadmap.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions