SFTP

In this guide, we demonstrate how to use the NoPorts Tunnel to bridge SFTP on a remote machine to localhost:2222 so we can access it in an SFTP client locally.

Prerequisites

Before continuing, make sure that the following steps have been completed:

  • NoPorts has been installed on both machines.

  • Your NoPorts atSigns are activated, and the associated keys are saved locally.

If you haven’t completed these steps, follow the appropriate installation guide on the Installation Instructions page, then return here once finished.

Command Line

The command should look like:

npt -f @<client> -t @<device> -d <device name> -r @<relay> -p 22 -l 2222

Example:

npt -f @alice_client -t @alice_device -d my_server -r @rv_am -p 22 -l 2222

Now you can connect to localhost:2222 in your favorite SFTP client.

To learn more about NPT

npt Usage

Desktop Application

When using the NoPorts desktop application, your connection profile should look something like this:

Profile Name

My SFTP Connection

Device atSign

@alice_device

Device Name

my_server

Relay

@rv_am

Local Port

2222

Local Host

localhost

Remote Host

Remote Port

22

Last updated