Create and use an ~/.ssh/config
file to store access info for all commonly-accessed servers.
Usage:
ssh game-server-alpha
Example ~/.ssh/config
:
Host game-server-alpha
Hostname 1.2.3.4
User ubuntu
IdentityFile /Volumes/ssh-keys/game-server-alpha.pem
Host game-server-prod
Hostname 4.3.2.1
User ubuntu
IdentityFile /Volumes/ssh-keys/game-server-prod.pem