SSH

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

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

Remote Host

localhost

Remote Port

22

Last updated