Skip to content

How can I SSH into my remote peer's resource hosts?

Dmitry Shihovtsev edited this page Nov 14, 2016 · 3 revisions

Step 1: Access your peer's web console

If you can access your report peer's web console you can create a temporary or permanent tunnel to access your peer's resource hosts. Once authenticated in the peer web console. Goto the "Console" using the link in the vertical left hand side menu.

Step 2: Select the RH in dropdown on Console tab.

Once you select a specific resource host you can then issue the following command to create a tunnel into the resource host:

  • Permanent tunnel: subutai tunnel add localhost -g
  • Tunnel with TTL 600 seconds: subutai tunnel add localhost 600 -g

Step 3: SSH into the RH

You'll get some output revealing the IP address and port to use to tunnel into the RH.

52.90.197.198:46339

Then you can SSH in like so:

ssh -p 46339 [email protected]

WARNING make sure to change your default ubuntu password and to destroy the tunnel when you are done using the following command:

subutai tunnel del localhost:22

Clone this wiki locally