systems

This is an old revision of the document!


PHP Systems

PHP is supported by a number of machines provided by a number of generous sponsors. This is a basic inventory of those machines and what services they provide.

History

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:

  Host git.php.net americas.jump.php.net europe.jump.php.net
      ProxyJump none
  
  Host *.php.net
      ProxyJump <USERID>@americas.jump.php.net:9022
      User <USERID>

Replace americas with europe depending on where you are. The jump hosts also provide 2FA using Google Authenticator.

Reference: https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts

2FA setup instructions

  • Install the google-authenticatorhttps://github.com/google/google-authenticator-libpam package on a local machine (I used a docker container to avoid contaminating my real machine, but it's probably not necessary).
  • Run google-authenticator command and create a new Google Authenticator entry using the QR code.
  • Email that file to someone with root access on jumphost machines. I'm nominating Derick for this since he's been awesome and shall be rewarded with further work. Admin will put that file into your homedir with 0600 perms and chown'd to you.
  • Connect to jumphost using the new authenticator code.
  • Remove ~/.google_authenticator
  • Generate a new config profile locally on the jumphost.
  • Ask Derick to then copy that new config to other jumphosts so that you can use NA as well as EU.

Note: You'll need to find someone who can replicate your account to europe.jump.php.net so you can use it there, too.

Tip, you can tell ssh to use a php-specific key for php-related things by adding something like this to your Host *.php.net section:

IdentityFile /Users/bjori/.ssh/php_id_rsa

Machine Status

We use Nagios and Munin to monitor the machines. There is a public network status page as well as a protected area (log in with your SVN credentials) with more detailed information. The Munin web interface is available here.

FreeBSD upgrades

Note regarding FreeBSD machines: Upgrades should be performed according to this guide.

systems.1653061569.txt.gz · Last modified: 2022/05/20 15:46 by derick