fzf + SSH Config Hosts
2024-10-10 | #linux #ssh #tips
SSH has a nice feature in which you can store aliases for frequently accessed hosts. Combining this with fzf, you can have a nice quick shortcut to quickly pick a server to connect to into. This comes in very handy if you need to ssh into different servers and forget their IP or hostname often. Here’s a sample ssh config file (normally located at ~/.ssh/config): # see https://man.openbsd.org/ssh_config.5 for all the available configuration settings Host runner-staging HostName 10.