Connect with SSH

Use JFrog Connect to enable port forwarding in SSH to access and control your edge device.

You can gain port forwarding access to your edge device using a number of different port forwarding methods. This page describes an example procedure using SSH to access the device.

Prerequisites

Open SSH Port Forwarding Session

To start an SSH remote access session, do the following:

  1. Go to Remote Access and choose the device you want to access.

  2. Enter the SSH port for your device. By default, SSH connections are routed through port 22. If you are using OpenSSH with a port other than 22, you need to enter that port here.

  1. Click Open Session. Wait until Connect produces the Remote Access Address as shown below. You will use parts of this address to construct a command as shown in the next step and the example below.

  1. Open a terminal window, type in the command below, and substitute the values that Connect provided in the Remote Access Address. (See example below.) Press Enter. ssh <username>@<hostname> -p <port>

Example:

Here is an example of a ready SSH command:

ssh root@d-e571-1261-egrffkb3qhq.forwarding.connect.jfrog.io -p 22277

Where the parameters are:

  • <username> – A user account name (or root) on your Linux edge device.

  • <hostname> – The full URL you received from JFrog Connect remote access session window.

  • <port> – The port you received from JFrog Connect remote access session window.

  1. After the above command runs, you will be prompted for your Linux device user password. Enter it right away. After your credentials are verified, you will be connected to your device through a secure SSH connection.

Tip: If your SSH connection command is not getting a response after a few seconds, press Ctrl+C and run the command again.

What’s Next?

Learn how to Access Device Web Applications on your edge device.

Last updated