Port Tunneling
JFrog Connect API requests to support port tunneling.
Last updated
Was this helpful?
JFrog Connect API requests to support port tunneling.
Last updated
Was this helpful?
This page has requests to support port tunneling, such as opening and closing port tunneling sessions, and has requests to get information about the open port tunnels.
The following are required to use the port tunneling API requests:
You must have the following Project Permission defined:
Remote Terminal & Port Tunnel.
For using a remote SSH session, you need ssh-client installed on the device.
No ports need to be open on the device or the firewall for port tunneling to work.
Gets information about all the port tunnels in a project. The port tunnels may be open or closed (also called finished). The status
returned may be one of the following:
Pending
: A new port tunnel that has not yet opened.Opened
: A port tunneling session currently active.Closed
: The user has ended the port tunneling session.Terminated
: The tunnel was closed, but not due to user request.The project key of the relevant project in the account. An account can have multiple projects. If you don't know the project key, you can find it in the Settings of the web UI in the Projects tab.
Gets information about all the port tunnels in a project. The port tunnels may be open or closed (also called finished). The status
returned may be one of the following:
Pending
: A new port tunnel that has not yet opened.Opened
: A port tunneling session currently active.Closed
: The user has ended the port tunneling session.Terminated
: The tunnel was closed, but not due to user request.The project key of the relevant project in the account. An account can have multiple projects. If you don't know the project key, you can find it in the Settings of the web UI in the Projects tab.
The UUID that is the unique identifier of the port tunnel.
Ends a port tunneling session. You need to specify the project key and the port tunnel ID.
The project key of the relevant project in the account. An account can have multiple projects. If you don't know the project key, you can find it in the Settings of the web UI in the Projects tab.
The UUID that is the unique identifier of the port tunnel.
No body
Opens a port tunneling session with the device that you specify.
Once you obtain the server address and port, you are ready to interact with the device. The following are some examples of different types of interfaces you can use and hyperlinks to the simple procedure for each one.
The project key of the relevant project in the account. An account can have multiple projects. If you don't know the project key, you can find it in the Settings of the web UI in the Projects tab.
The UUID of the device you want to connect to.
The port you want to forward. This can be any port number. For example, use 22 for a secure SSH connection to your device.
The port will be accessible only from this IP address. If you do not use this parameter, the allowed IP will be your current IP address.