Using Kitty as SSH connection manager #10133
tdram
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
First of all, I have not made this. I have used AI to script it.
I am a tmux user and I use its popup feature to show SSH connections (as a SSH connection manager) and I connect to lot of remote sessions.
What if I can replicate the same using kitty overlay and so I asked Gemini to script it. This takes existing connections from your user's ssh config file and shows it with preview (with fzf to type and connect quickly). All tabs have their title taken from the ssh
connection file.
Save this file as kitty_ssh_manager.sh and add the execute bit to the file by chmod +x kitty_ssh_manager.sh
Then in kitty.conf, add the below line:
Make sure to enable remote control in kitty.conf.
I used the key ctrl+A to open the overlay and connect to remote servers. Also I mapped F2 to select_tab to directly connect to the specific tab.
All reactions