3 ms·
Is it really easier than just editing ~/.ssh/config? In the config, you can use wildcards for groups of servers Host *.whatever.net IdentityFile ~/.
by spindritf 13y ago
Is it really easier than just editing ~/.ssh/config? In the config, you can use wildcards for groups of servers
Host *.whatever.net
IdentityFile ~/.ssh/whatever-key
ServerAliveInterval 10
port 1022
and then add specific information and aliases per host
Host someserver.whatever.net someserver ss
Hostname someserver.whatever.net
User spin
Host otherserver.whatever.net otherserver os
Hostname otherserver.whatever.net
User dritf
Plus, since you probably edit it only once in a while, you don't need to remember the syntax and can simply base new additions on existing entries.
- tvon 13y agoIt seems like one of those situations where it is better to just learn the tool you're using instead of learning a tool to configure the tool you're using.
- Millennium 13y agoIt's probably not much easier, but the tool is almost certainly less error-prone. I like to see this extended with a GUI, but it's a good start.
- ceejayoz 13y agoI doubt it's less error-prone. SSH config files aren't particularly complicated, and if you get it wrong, it's easy enough to fix - just edit the file again.