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 [2019/10/14 12:33] – [Passwordless Authentication] kameranisremote_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'' 
 +  * ''focal3.cs.uchicago.edu'' 
 +  * ''focal4.cs.uchicago.edu'' 
 +  * ''focal5.cs.uchicago.edu'' 
 +  * ''focal6.cs.uchicago.edu'' 
 +  * ''focal7.cs.uchicago.edu''
  
 === Specs === === Specs ===
Line 143: Line 148:
  
 keychain, by default, is quite verbose. Once you are sure that it is working the way you intend, add a -q option onto the keychain invocation to silence it. keychain, by default, is quite verbose. Once you are sure that it is working the way you intend, add a -q option onto the keychain invocation to silence it.
 +
 +
 +====== PHD Desktops ======
 +Some desktops will require you to use a jump host to get ssh access.
 +
 +<code>
 +ssh -J <cnetid>@focal0.cs.uchicago.edu <cnetid>@<host>.a.cs.uchicago.edu
 +</code>
 +
 +
 +You will want to setup ssh keys in your home directory or you it will ask for your password twice:
 +<code>
 +$ ssh -J cnetid@focal0.cs.uchicago.edu cnetid@<host>.a.cs.uchicago.edu
 +cnetid@focal0.cs.uchicago.edu's password:
 +cnetid@<host>.a.cs.uchicago.edu's password:
 +cnetid@<host>:~$
 +</code>
 +
 +
 +If you haven't done so already you'll need to generate ssh keys:
 +
 +<code>
 +cnetid@focal0:~$ ssh-keygen -t ed25519
 +Generating public/private ed25519 key pair.
 +Enter file in which to save the key (/home/cnetid/.ssh/id_ed25519):
 +Created directory '/home/cnetid/.ssh'.
 +Enter passphrase (empty for no passphrase):
 +Enter same passphrase again:
 +Your identification has been saved in /home/cnetid/.ssh/id_ed25519.
 +Your public key has been saved in /home/cnetid/.ssh/id_ed25519.pub.
 +The key fingerprint is:
 +...
 +</code>
 +<code>
 +cnetid@focal0:~$ cat $HOME/.ssh/id_ed25519.pub >> $HOME/.ssh/authorized_keys
 +</code>
 +
 +# success! we can ssh without a password.
 +<code>
 +cnetid@focal0:~$ ssh focal1
 +Last login: Sat May 18 21:57:18 2019 from 73.208.67.252
 +cnetid@focal1:~$
 +</code>
 +
/var/lib/dokuwiki/data/attic/remote_access.1571074386.txt.gz · Last modified: 2019/10/14 12:33 by kameranis

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki