SSH

In this guide, we demonstrate how to use SSH NoPorts to SSH to a remote machine.

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:

sshnp -f @<client> -t @<device> -d <device name> -r @<relay> -i <your ssh key>

Example:

sshnp -f @alice_client -t @alice_device -d my_server -r @rv_am -i ~/.ssh/id_ed25519

Auto SSH key upload

If you don't have an ssh key uploaded on the remote machine, you can upload one by adding -s to the command:

sshnp -f @alice_client -t @alice_device -d my_server -r @rv_am -i ~/.ssh/id_ed25519 -s

To learn more about SSHNP

sshnp Usage

Desktop Application

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

Profile Name

My SSH 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