Workstation SSH Configuration
If you want to log into a server without entering a password every time, follow these instructions. When you have multiple SSH keys, you have to create a file named config in your .ssh. Here is an example of my config file.
# github Host github.com User git HostName github.com PreferredAuthentications publickey IdentityFile ~/.ssh/github # marylou Host ssh.fsl.byu.edu User jeremy12 HostName ssh.fsl.byu.edu PreferredAuthentications publickey IdentityFile ~/.ssh/marylou
The SSH keys for github and marylou are in files named github and github.pub and marylou and marylou.pub, respectively. You can speed things up even more by adding an alias to your .bash_profile, something like
alias "ml"="ssh firstname.lastname@example.org"