Connect with SSH
Use JFrog Connect to enable port tunneling in SSH to access and control your edge device.
Last updated
Use JFrog Connect to enable port tunneling in SSH to access and control your edge device.
Last updated
You can gain port tunneling access to your edge device using a number of different tunneling methods. This page describes an example procedure using SSH to access the device.
The following software installed on the device: ssh-server
and ssh-client
.
If you are using a Windows-based computer and you don’t have SSH enabled, you may want to refer to the How-to Geek’s article How to Enable and Use Windows 10's New Built-in SSH Commands to setup SSH.
To start an SSH remote access session, do the following:
Go to Remote Tools/Port Tunnel and choose the device you want to access.
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, enter that port number here.
Click Open Tunnel. 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.
Open a terminal window, type in the command below, and substitute the values that Connect provided in the remote access address. (See example below.) Type 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.
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, type Ctrl+C and run the command again.
Learn how to Access Device Web Applications on your edge device.