2 ms·
That's a shame. That does immediately rule out my use case of using it at work for working with multiple servers. I have all of our servers in ~/.ssh/config (po
by wjoe 10y ago
That's a shame. That does immediately rule out my use case of using it at work for working with multiple servers. I have all of our servers in ~/.ssh/config (populated from a script), which use a number of different ssh keys. I assumed the host names in the orgalorg examples would work with the ones defined in ~/.ssh/config
- seletskiy 10y agoParsing `ssh_config` is not implemented right now as well as multiple SSH keys for auth. However, it can be implemented easy. BTW, I have not implemented it, because I think it's very bad approach in maintaining clusters, e.g. storing host names inside local ~/.ssh/config file. Hosts should have DNS records.
- mugsie 10y agoyeap, but I have a nice .ssh/config that does wildcard masking , and a few other things to make sure I can log into servers without remembering which SSH Key I need to use, and what username. e.g. I use the following snippet for my dev build boxes - they are rebuilt all the time, but I need to login and check system state from time to time. Host 10.250.60.* UserKnownHostsFile /dev/null StrictHostKeyChecking no IdentityFile ~/.ssh/local-dev-key User build If you are implementing multiple SSH Keys, remember that a -lot- few people will have keys on GPG Cards, YubiKeys and other devices, not just on disk.