Difference between revisions of "LeBauer:Software/Misc"

From OpenWetWare
Jump to: navigation, search
(public/private keys)
(SSH)
 
Line 1: Line 1:
==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:
 
 
<pre>
 
host cl
 
hostname cluster.illinois.edu
 
user dlebauer
 
</pre>
 
 
this allows logging in with the command
 
<pre>ssh cl</pre>
 
instead of <pre>ssh cluster.illinois.edu </pre>
 
 
This alias (in this case, 'cl') can also be used from emacs and other programs that use ssh.
 

Latest revision as of 08:50, 10 November 2010