Skip to main content

Access bastion servers

Secrets

Extract the SSH Key secrets for the bastion server:

  • staging secret name: keys/govwifi-staging-bastion-key
  • production secret name: keys/govwifi-bastion-key

Find out the Elastic IPs for the bastion servers. You can do this by logging into the AWS console, and finding the instances which contain the word “Bastion”.

Remember there are two regions, so there may be more than two bastions.

SSH Config

We recommended setting up an SSH config for ease of use. Instructions how to set up your SSH config exist in the Password Store of GovWifi where you can run:

PASSWORD_STORE_DIR=<password_store_dir> pass show ssh/instructions.txt

where <password_store_dir> is the path of the passwords directory of the govwifi-build repository on your local machine.

You should now be able to connect to each of the hosts using ssh and the hostnames mentioned in instructions.txt.

Example:

ssh example.hostname
This page was last reviewed on 21 July 2021. It needs to be reviewed again on 21 January 2022 by the page owner #govwifi .
This page was set to be reviewed before 21 January 2022 by the page owner #govwifi. This might mean the content is out of date.