User Tools

Site Tools


institute_lorentz:institutelorentz_remoteaccess

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
institute_lorentz:institutelorentz_remoteaccess [2020/03/10 11:58]
lenocil [Example 5: Using Putty]
institute_lorentz:institutelorentz_remoteaccess [2020/03/10 14:05]
jansen [Example 2]
Line 28: Line 28:
 <​code>​ <​code>​
 Host asselijn.lorentz.leidenuniv.nl asselijn Host asselijn.lorentz.leidenuniv.nl asselijn
-ProxyCommand /​usr/​bin/​ssh -W %h:%p ssh.lorentz.leidenuniv.nl+     ProxyCommand /​usr/​bin/​ssh -W %h:%p ssh.lorentz.leidenuniv.nl
 </​code>​ </​code>​
 And if you have a different username locally and on the institute desktops, that can be added like this: And if you have a different username locally and on the institute desktops, that can be added like this:
 <​code>​ <​code>​
 Host asselijn.lorentz.leidenuniv.nl asselijn Host asselijn.lorentz.leidenuniv.nl asselijn
-ProxyCommand /​usr/​bin/​ssh -W %h:%p username@ssh.lorentz.leidenuniv.nl +     ProxyCommand /​usr/​bin/​ssh -W %h:%p username@ssh.lorentz.leidenuniv.nl 
-User username+    User username
 </​code>​ </​code>​
 If you need access to multiple hosts, just copy and edit the example above. If you need access to multiple hosts, just copy and edit the example above.
 +
 +Once this configuration is in place, a simple ''​ssh asselijn''​ will get you to the machine you have configured.
  
 ==== Example 3 ==== ==== Example 3 ====
institute_lorentz/institutelorentz_remoteaccess.txt · Last modified: 2020/03/10 14:05 by jansen