systems

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
systems [2018/08/07 01:35]
carusogabriel Remove extra spaces
systems [2019/07/15 19:32] (current)
salathe Use ProxyJump for SSH
Line 54: Line 54:
  
 ===== Machine Access ===== ===== Machine Access =====
 +
 +==== SSH jump hosts ====
  
 People with SSH accounts on the above machines must use one of our jump hosts to connect to them. Add this to your ''​~/​.ssh/​config'':​ People with SSH accounts on the above machines must use one of our jump hosts to connect to them. Add this to your ''​~/​.ssh/​config'':​
  
     Host git.php.net americas.jump.php.net europe.jump.php.net     Host git.php.net americas.jump.php.net europe.jump.php.net
-        ​ProxyCommand ​none+        ​ProxyJump ​none
     ​     ​
     Host *.php.net     Host *.php.net
-        ​ProxyCommand nohup ssh -p 9022 <​USERID>​@americas.jump.php.net ​nc -w1 %h %p+        ​ProxyJump ​<​USERID>​@americas.jump.php.net:9022
         User <​USERID>​         User <​USERID>​
  
-Replace ''​americas''​ with ''​europe''​ depending on where you are. The jump hosts also provide 2FA using Google Authenticator:​+Replace ''​americas''​ with ''​europe''​ depending on where you are. The jump hosts also provide 2FA using Google Authenticator
 + 
 +Referencehttps://​en.wikibooks.org/​wiki/​OpenSSH/​Cookbook/​Proxies_and_Jump_Hosts
  
 ==== 2FA setup instructions ==== ==== 2FA setup instructions ====
systems.txt · Last modified: 2019/07/15 19:32 by salathe