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
linux_ssh_access [2020/07/13 19:05]
pgh5a [Option 2: Access via portal.cs.virginia.edu]
linux_ssh_access [2020/08/06 13:11] (current)
pgh5a [Short Names]
Line 22: Line 22:
  
  
-If you are outside of the UVA network (off grounds) then you can use the [[https://​virginia.service-now.com/​its?​id=itsweb_kb_article&​sys_id=f24e5cdfdb3acb804f32fb671d9619d0|UVA VPN]] to access ​CS servers ​via SSH.+If you are outside of the UVA network (off grounds) then you can first start a VPN session to UVA using the [[https://​virginia.service-now.com/​its?​id=itsweb_kb_article&​sys_id=f24e5cdfdb3acb804f32fb671d9619d0|UVA VPN]]. Once the VPN is established,​ you can '​ssh' ​to CS servers ​directly.
  
 ==== Option 2: Access via portal.cs.virginia.edu ==== ==== Option 2: Access via portal.cs.virginia.edu ====
  
-You can ssh directly into ''​%%portal.cs.virginia.edu%%''​ without having to use the VPN.  Once you are logged into the ''​%%portal%%''​ cluster, you can then ssh to other CS servers. //Note! From off grounds, you can ONLY ssh into portal without using the VPN. You cannot ssh directly into other department servers.//+You can ssh directly into ''​%%portal.cs.virginia.edu%%''​ without having to use the UVA VPN.  Once you are logged into the ''​%%portal%%''​ cluster, you can then ssh to other CS servers. //Note! From off grounds, you can ONLY ssh into portal without using the VPN. You cannot ssh directly into other department servers.//
  
 <​code>​ <​code>​
-[ktm5j@outside-uva ~]$ ssh -l ktm5j portal.cs.virginia.edu +[abc1de@outside-uva ~]$ ssh -l abc1de ​portal.cs.virginia.edu 
-ktm5j@portal.cs.virginia.edu'​s password: ​+abc1de@portal.cs.virginia.edu'​s password: ​
 Last login: Mon Jul 29 14:12:10 2019 Last login: Mon Jul 29 14:12:10 2019
-ktm5j@portal04 ~ $ hostname+abc1de@portal04 ~ $ hostname
 portal04 ​                                              <​-- We are logged into portal cluster portal04 ​                                              <​-- We are logged into portal cluster
-ktm5j@portal04 ~ $ ssh gpusrv01 ​                        <​-- We can now access gpusrv01 +abc1de@portal04 ~ $ ssh gpusrv01 ​                        <​-- We can now access gpusrv01 
-ktm5j@gpusrv01'​s password:+abc1de@gpusrv01'​s password:
 .... ....
-ktm5j@gpusrv01 ~ $+abc1de@gpusrv01 ~ $
 </​code>​ </​code>​
  
Line 60: Line 60:
  
 <​code>​ <​code>​
-[ktm5j@outside-uva ~]$ ssh -l ktm5j gpusrv01 -J portal.cs.virginia.edu +[abc1de@outside-uva ~]$ ssh -l abc1de ​gpusrv01 -J portal.cs.virginia.edu 
-ktm5j@portal04.cs.virginia.edu'​s password: ​                           <-- first asked to authenticate to portal +abc1de@portal04.cs.virginia.edu'​s password: ​                           <-- first asked to authenticate to portal 
-ktm5j@gpusrv01'​s password: ​                                             <-- immediately able to log into gpusrv01+abc1de@gpusrv01'​s password: ​                                             <-- immediately able to log into gpusrv01
 .... ....
-ktm5j@gpusrv01 ~ $+abc1de@gpusrv01 ~ $
 </​code>​ </​code>​
  
Line 76: Line 76:
  
 <​code>​ <​code>​
-username@power5:~$ ping power3 +username@portal01:~$ ping portal03 
-PING power3.cs.virginia.edu (128.143.67.43) 56(84) bytes of data. +PING portal03.cs.virginia.edu (128.143.67.43) 56(84) bytes of data. 
-64 bytes from power3.cs.virginia.edu (128.143.67.43):​ icmp_seq=1 ttl=64 time=0.149 ms +64 bytes from portal03.cs.virginia.edu (128.143.67.43):​ icmp_seq=1 ttl=64 time=0.149 ms 
-64 bytes from power3.cs.virginia.edu (128.143.67.43):​ icmp_seq=2 ttl=64 time=0.123 ms+64 bytes from portal03.cs.virginia.edu (128.143.67.43):​ icmp_seq=2 ttl=64 time=0.123 ms
 </​code>​ </​code>​
  
  • linux_ssh_access.1594667122.txt.gz
  • Last modified: 2020/07/13 19:05
  • by pgh5a