I have seen both and using one key pair looks very convenient but also makes me feel a little uneasy.
I myself have a key pair for each of my machines.
How do you handle it?
I have seen both and using one key pair looks very convenient but also makes me feel a little uneasy.
I myself have a key pair for each of my machines.
How do you handle it?
In each alias you put the appropriate "-i private_key_for_that_server", the server name and also "-l user_name" if you have a different user there and "-p port" if the server uses a non-standard port.
Thus, after the initial key setup, connecting to any server with different credentials is no more complex than when using a single key pair.
Except for an extra keygen step, the initial setup is not more complex than when using a single key pair, as you have to copy the public keys anyway, which is the more difficult part of the setup.
If you frequently move between workstations, maybe look into the new hardware key features (Circ’s version 8.3). If you have multiple users that all connect to the same account, a SSH CA (circa version 7.4) would permit new access without needing to constantly modify server-side authorized_keys.