Connecting to a Private Network with an SSH Tunnel
👤 This documentation is intended for Site Administrators and/or Database Administrators.
To connect to a database in a private network, create an SSH tunnel using the following steps:
Download our public key and whitelist 22.214.171.124 and 126.96.36.199 through your firewall.
Create a user account for Periscope:
ubuntu@bastion:~$ sudo useradd periscope
Note there's no password, as Periscope authenticates via public key. Authorize that key by opening up periscope_id_rsa.pub and pasting its contents into a new line in /home/periscope/.ssh/authorized_keys.
In most cases the SSH Port will be default 22. Check the Port variable in /etc/ssh/sshd_config to see which port is used for SSH.
ubuntu@bastion:~$ cat /etc/ssh/sshd_config | grep Port
For more details, please reference the instructions in the following guides:
Finally, return to the Connect Form with your SSH host, port and username, and click Connect to a Private Network.