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/07/13 19:00]
pgh5a
linux_ssh_access [2020/07/13 19:05]
pgh5a [Option 2: Access via portal.cs.virginia.edu]
Line 26: Line 26:
 ==== 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. You cannot ssh directly into other department servers.//+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.//
  
 <​code>​ <​code>​
Line 42: Line 42:
 === SSH Jumphost Options === === SSH Jumphost Options ===
  
-The OpenSSH ssh client has an option ''​%%-J%%''​ to specify a host to use as a "​jumphost"​ that lets us access other servers ​inside of a firewalled network.  This combines two steps from the example above (ssh into portal.cs.virginia.edu and then ssh to power3) into one single command. ​ From the manpages:+The OpenSSH ssh client has an option ''​%%-J%%''​ to specify a host to use as a "​jumphost"​ that lets you access other servers ​directly, in one step.  This combines two steps (ssh into portal.cs.virginia.edu and then ssh to gpusrv01) into one single command. ​ From the manpages:
  
 <​code>​ <​code>​
Line 66: Line 66:
 ktm5j@gpusrv01 ~ $ ktm5j@gpusrv01 ~ $
 </​code>​ </​code>​
- 
-This process can be made even easier with the use of password-less ssh keys.  When keys are set up properly you can log in (even using the -J jumphost options) without needing to type in a password. 
  
 ===== Server Domain Names ===== ===== Server Domain Names =====
  
 Computer Science hosts its own DNS server with authority over the ''​%%cs.virginia.edu%%''​ domain space. ​ Any server in CS will have a fully qualified domain name (fqdn) of ''​%%hostname.cs.virginia.edu%%''​. Computer Science hosts its own DNS server with authority over the ''​%%cs.virginia.edu%%''​ domain space. ​ Any server in CS will have a fully qualified domain name (fqdn) of ''​%%hostname.cs.virginia.edu%%''​.
- 
-If you want to log into a server named ''​%%gpusrv04%%'',​ then the domain address should be ''​%%gpusrv04.cs.virginia.edu%%''​. 
  
 ==== Short Names ==== ==== Short Names ====
  
-If you are inside of the Computer Science network then you can simply ​use the hostname of a server instead of its fully qualified name.  For example, if you are logged into a CS server, you can ping another server by its hostname alone.+If you are inside of the Computer Science network then use the hostname of a server instead of its fully qualified name.  For example, if you are logged into a CS server, you can ping another server by its hostname alone.
  
 <​code>​ <​code>​
  • linux_ssh_access.txt
  • Last modified: 2020/09/01 18:02
  • by pgh5a