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 [2025/01/13 13:45] amcguireremote_access [2025/01/13 13:55] (current) amcguire
Line 154: 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 160: 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 170: 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 182: 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.1736797552.txt.gz · Last modified: 2025/01/13 13:45 by amcguire

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki