A minimal bash script to manage and connect to SSH servers using fuzzy search via fzf.
- Fuzzy search across all your servers by name, host, user, or port
- Direct connect by server name:
connect SERVERNAME - Simple plain-text config file
- Auto-generates an example config on first run
fzf— install withbrew install fzf
sudo ln -sf /path/to/ssh-connect/connect /usr/local/bin/connectServers are defined in ~/.ssh/connect.conf:
# Format: name host [user] [port]
# Fields are whitespace-separated. user and port are optional.
work-server 192.168.1.10
dev-box 10.0.0.5 deploy 2222
staging staging.example.com ubuntu
If the config file doesn't exist, connect will create an example one on first run.
Fuzzy search (interactive):
connectDirect connect by name:
connect work-serverName matching is case-insensitive.