On this page
Before you start: Admin role and a bastion user accepting an authorized key.
Swipe the screenshot sideways to see all of it, or tap it to open it full size.
- In Resources, click Create, choose Create SSH key, click Generate key pair and create.
- Run the install script on the bastion (or add the public key to
authorized_keys). - Click Create, choose Create SSH tunnel, enter bastion details and key, test and create.
- Pick the tunnel in target settings (Add a target).
The list shows status and last connection. Targets share tunnels. Referenced keys or tunnels cannot be deleted.
Through the API#
- Test: POST
/ssh-tunnels(/test-connection test_token) - Create: POST
/ssh-tunnels(name,ssh_host,ssh_user,ssh_key_id,test_token) - Set
ssh_tunnel_idon targets (GET/ssh-tunnels)./{id} /status