LeBauer:Software/Misc

From OpenWetWare
Jump to navigationJump to search

SSH

located in ~/.ssh/config


ssh config file:

To make logging in easier, especially when your login name is different on your computer and the remote computer, I first set up my ssh config file with an alias to the remote address


here is an example of an ~/.ssh/config file:

host cl
hostname cluster.illinois.edu
user dlebauer

this allows logging in with the command

ssh cl

instead of

ssh cluster.illinois.edu 

This alias (in this case, 'cl') can also be used from emacs and other programs that use ssh.