How to ssh - usegalaxy-no/galaxyadmin GitHub Wiki

How to ssh into usegalaxy.no servers

Preparations/background

  • Only key based ssh login is allowed.
  • Your public key needs to be entered into the playbook so it will be installed as a valid key for the 'galaxyadmin' or 'sysadmin' user on the different relevant hosts (both in the test stack and the prod stack)
    • Contact another admin to have your key added.
    • If you don't already have a public key in ~/.ssh/id_rsa.pub on your local machine, you can use the ssh-keygen command to create a new key pair, as described here

How to connect example

  • First do ssh [email protected] (or alternatively use the -i option to specify the exact private key you should connect with. Can also be configured in your .ssh/config file so you don't have to specify it each time).
  • then sudo -su galaxy to become the galaxy user the services are running as (the galaxyadmin user is just used to connect, not to maintain/operate the services themselves).

The servers

Production stack

  • usegalaxy.no (Galaxy server and NginX web proxy)

  • db.usegalaxy.no aka data.usegalaxy.no (Postgres database and local CVMFS)

  • slurm.usegalaxy.no (Compute node)

  • nrec2.usegalay.no (static compute node in NREC)

  • eccN.usegalay.no (dynamic compute nodes in NREC)

  • cvmfsproxy01.usegalaxy.no and cvmfsproxy02.usegalaxy.no (Squid caching proxies for CVMFS)

Test stack

  • test.usegalaxy.no (Galaxy server and NginX web proxy)
  • db.test.usegalaxy.no aka data.test.usegalaxy.no (Postgres database and local CVMFS)
  • slurm.test.usegalaxy.no (Compute node)
  • eccN.test.usegalay.no (dynamic compute nodes in NREC)
  • cvmfsproxy01.test.usegalaxy.no and cvmfsproxy02.test.usegalaxy.no (Squid caching proxies for CVMFS)

The users

It is possible to login as one of the following OS users (if your SSH key has been added for that user)

  • galaxyadmin
  • sysadmin (has sudo access)