User Tools

Site Tools


remote_access

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
remote_access [2021/04/30 12:03] – number of linux servers changed ctopperremote_access [2025/01/13 13:55] (current) amcguire
Line 10: Line 10:
  
 === linux.cs.uchicago.edu === === linux.cs.uchicago.edu ===
-This is actually uses DNS round robin to point to multiple servers+The ''linux.cs.uchicago.edu'' name is an alias that points to the ''focal.cs.uchicago.edu'' name, which in turn cycles round-robin through the following canonical names
-  * linux1.cs.uchicago.edu +  * ''focal0.cs.uchicago.edu'' 
-  * linux2.cs.uchicago.edu +  * ''focal1.cs.uchicago.edu'' 
-  * linux3.cs.uchicago.edu +  * ''focal2.cs.uchicago.edu'' 
-  * linux4.cs.uchicago.edu +  * ''focal3.cs.uchicago.edu'' 
-  * linux5.cs.uchicago.edu +  * ''focal4.cs.uchicago.edu'' 
-  * linux6.cs.uchicago.edu +  * ''focal5.cs.uchicago.edu'' 
-  * linux7.cs.uchicago.edu+  * ''focal6.cs.uchicago.edu'' 
 +  * ''focal7.cs.uchicago.edu''
  
 === Specs === === Specs ===
Line 153: Line 154:
  
 <code> <code>
-ssh -J <cnetid>@linux2.cs.uchicago.edu <cnetid>@<host>.a.cs.uchicago.edu+ssh -J <cnetid>@focal0.cs.uchicago.edu <cnetid>@<host>.a.cs.uchicago.edu
 </code> </code>
  
Line 159: Line 160:
 You will want to setup ssh keys in your home directory or you it will ask for your password twice: You will want to setup ssh keys in your home directory or you it will ask for your password twice:
 <code> <code>
-$ ssh -J cnetid@linux2.cs.uchicago.edu cnetid@<host>.a.cs.uchicago.edu +$ ssh -J cnetid@focal0.cs.uchicago.edu cnetid@<host>.a.cs.uchicago.edu 
-cnetid@linux2.cs.uchicago.edu's password:+cnetid@focal0.cs.uchicago.edu's password:
 cnetid@<host>.a.cs.uchicago.edu's password: cnetid@<host>.a.cs.uchicago.edu's password:
 cnetid@<host>:~$ cnetid@<host>:~$
Line 169: Line 170:
  
 <code> <code>
-cnetid@linux2:~$ ssh-keygen -t ed25519+cnetid@focal0:~$ ssh-keygen -t ed25519
 Generating public/private ed25519 key pair. Generating public/private ed25519 key pair.
 Enter file in which to save the key (/home/cnetid/.ssh/id_ed25519): Enter file in which to save the key (/home/cnetid/.ssh/id_ed25519):
Line 181: Line 182:
 </code> </code>
 <code> <code>
-cnetid@linux2:~$ cat $HOME/.ssh/id_ed25519.pub >> $HOME/.ssh/authorized_keys+cnetid@focal0:~$ cat $HOME/.ssh/id_ed25519.pub >> $HOME/.ssh/authorized_keys
 </code> </code>
  
 # success! we can ssh without a password. # success! we can ssh without a password.
 <code> <code>
-cnetid@linux2:~$ ssh linux3+cnetid@focal0:~$ ssh focal1
 Last login: Sat May 18 21:57:18 2019 from 73.208.67.252 Last login: Sat May 18 21:57:18 2019 from 73.208.67.252
-cnetid@linux3:~$+cnetid@focal1:~$
 </code> </code>
  
/var/lib/dokuwiki/data/attic/remote_access.1619802203.txt.gz · Last modified: 2021/04/30 12:03 by ctopper

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki