Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
linux_ssh_access [2020/03/30 20:06]
pgh5a
linux_ssh_access [2020/03/30 20:09]
pgh5a [Linux SSH Access]
Line 1: Line 1:
 ====== Linux SSH Access ====== ====== Linux SSH Access ======
  
-All Linux servers run '​ssh'​. ​ Anyone with a CS account may log into these servers. From inside UVA, you can simply '​ssh'​ to CS servers.+All Linux servers run '​ssh'​. ​ Anyone with a CS account may log into these servers. ​ 
 + 
 +From inside UVA, you can simply '​ssh'​ to CS servers.
  
 From outside UVA, you are not able to '​ssh'​ directly into CS servers. ​ However connections to ''​%%portal.cs.virginia.edu%%''​ are still allowed from outside of UVA. From outside UVA, you are not able to '​ssh'​ directly into CS servers. ​ However connections to ''​%%portal.cs.virginia.edu%%''​ are still allowed from outside of UVA.
Line 27: Line 29:
 ktm5j@portal04 ~ $ hostname ktm5j@portal04 ~ $ hostname
 portal04 ​                                              <​-- We are logged into portal cluster portal04 ​                                              <​-- We are logged into portal cluster
-ktm5j@portal04 ~ $ ssh power3 ​                         ​<-- We can now access ​power3 +ktm5j@portal04 ~ $ ssh gpusrv01 ​                        <-- We can now access ​gpusrv01 
-ktm5j@power3's password:+ktm5j@gpusrv01's password:
 .... ....
-ktm5j@power3 ​~ $+ktm5j@gpusrv01 ​~ $
 </​code>​ </​code>​
  
Line 50: Line 52:
 </​code>​ </​code>​
  
-Here is how we use this option to "​jump"​ from portal.cs to another CS server. ​ Let's repeat the example of logging in to ''​%%power3%%''​+Here is how we use this option to "​jump"​ from portal.cs to another CS server. ​ Let's repeat the example of logging in to ''​%%gpusrv01%%''​
  
 <​code>​ <​code>​
-[ktm5j@outside-uva ~]$ ssh -l ktm5j power3 ​-J portal.cs.virginia.edu+[ktm5j@outside-uva ~]$ ssh -l ktm5j gpusrv01 ​-J portal.cs.virginia.edu
 ktm5j@portal04.cs.virginia.edu'​s password: ​                           <-- first asked to authenticate to portal ktm5j@portal04.cs.virginia.edu'​s password: ​                           <-- first asked to authenticate to portal
-ktm5j@power3's password: ​                                             <-- immediately able to log into power3+ktm5j@gpusrv01's password: ​                                             <-- immediately able to log into gpusrv01
 .... ....
-ktm5j@power3 ​~ $+ktm5j@gpusrv01 ​~ $
 </​code>​ </​code>​
  
  • linux_ssh_access.txt
  • Last modified: 2020/08/06 13:11
  • by pgh5a