LogoLogo
  • Home
  • Installation
    • Quick Start for MacOS and Windows
    • MacOS Installation Guides
      • MacOS Desktop Client Installation
      • MacOS CLI Client Installation
      • MacOS Device Installation
    • Linux Installation Guide
      • Linux Cli Client Installation
      • Linux Device Installation
    • Windows Installation Guide
      • Windows Desktop Client Installation
      • Windows CLI Client Installation
      • Windows Device Installation
    • Manual Installation Guides
      • Device installation
        • Tmux session
        • Standalone Binaries
        • Systemd Unit
        • Headless
      • Device Upgrade
      • Installs at scale
      • Client installation
      • Client Upgrade
    • OpenWrt Installation Guide
    • Custom OS/Device Installs
      • IPFire
    • Cloud Installation Guides
      • Automated Installation on Amazon Web Services (AWS)
      • Automated Installation on Google Cloud Platform (GCP)
      • Automated Installation on Microsoft Azure
      • Automated Installation on Oracle Cloud Infrastructure (OCI)
    • Available Releases
  • Installation FAQ
    • How to activate an atSign
    • Reuse your client atSign on another machine
      • Generate a new set of cryptographic keys
    • How to name a device
    • How to generate SSH keys
    • Why activate the device atSign on the client?
  • Usage
    • npt Usage
      • Additional Configuration
    • sshnp Usage
      • Client Additional Configuration
    • sshnpd configuration
      • Daemon Additional Configuration
  • Integrations
    • OpenSSH config
    • PuTTY config
  • Use Cases
    • SSH
    • SFTP
    • RDP
    • Web Server
    • SMB
    • Be your own VPN
  • Product Information
    • NoPorts Policy Service
    • FAQ
    • How It Works
    • Under The Hood
    • Sequence Diagram
  • Related Pages
    • Main Site
    • GitHub
Powered by GitBook
On this page
  • Overview
  • 1. Download
  • 1.a. Download from GitHub
  • 1.b. Download using curl
  • 2. Unpack the Archive
  • 3. Install sshnp
  • 4. Add bin folder to the path
  • 5. Activate your client address
  • 3.a. First time activating your address
  • Enter the One Time Password (OTP) & Check your SPAM/PROMOTIONS folders
  • 3.b. Activated this address before
  • All Done!
Edit on GitHub
Export as PDF
  1. Installation
  2. Manual Installation Guides

Client installation

PreviousInstalls at scaleNextClient Upgrade

Last updated 1 year ago

Overview

The SSH No Ports client (a.k.a. sshnp) is available as a command line application or desktop application (alpha). This guide is for installing the command line application, the desktop application installation guide will be made available upon official release.

1. Download

1.a. Download from GitHub

You can , or see the table below to download the latest release for your platform.

Platform
Linux
macOS
Windows

x64

arm64

arm

risc-v

1.b. Download using curl

x64:

curl -fSL https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-x64.tgz -o sshnp.tgz

arm64:

curl -fSL https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-arm64.tgz -o sshnp.tgz

arm:

curl -fSL https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-arm.tgz -o sshnp.tgz

risc-v:

curl -fSL https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-linux-riscv.tgz -o sshnp.tgz

x64 (intel):

curl -fSL https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-macos-x64.zip -o sshnp.zip

arm64 (apple):

curl -fSL https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-macos-arm64.zip -o sshnp.zip

x64:

curl.exe -fSL https://github.com/atsign-foundation/noports/releases/latest/download/sshnp-windows-x64.zip -o sshnp.zip

2. Unpack the Archive

If you downloaded from GitHub, the file name may be slightly different.

tar -xf sshnp.tgz
unzip sshnp.zip
Expand-Archive -Force .\sshnp.zip

3. Install sshnp

  1. First, change directories into the unpacked download:

cd sshnp
  1. Then run the installer:

./install.sh sshnp && ./install.sh srv

This will install the binaries to ~/.local/bin. Instead, if you'd like to install the binaries to /usr/local/bin, run the installer as root:

sudo ./install.sh sshnp && sudo ./install.sh srv
  1. First, change directories into the unpacked download:

cd sshnp
  1. Then run the installer:

./install.sh sshnp && ./install.sh srv

This will install the binaries to ~/.local/bin. Instead, if you'd like to install the binaries to /usr/local/bin, run the installer as root:

sudo ./install.sh sshnp && sudo ./install.sh srv

Windows doesn't have a dedicated installer at this time.

You can find sshnp.exe in the unpacked archive, you may move this binary to wherever you like.

4. Add bin folder to the path

This step is optional, but highly recommended.

If you chose not to install as root, you will need to add ~/.local/bin to your PATH. Add the following line to your shell's rc file:

export PATH="$PATH:$HOME/.local/bin";

If you chose not to install as root, you will need to add ~/.local/bin to your PATH. Add the following line to your shell's rc file:

export PATH="$PATH:$HOME/.local/bin";

5. Activate your client address

3.a. First time activating your address

We will now activate the client address, you only need to activate the client address now. The device address should be activated during the device installation.

Now that you have at_activate installed, you can invoke the command with the name of the address you would like to activate:

./at_activate -a @my_noports_client

Now that you have at_activate installed, you can invoke the command with the name of the address you would like to activate:

./at_activate -a @my_noports_device

Enter the One Time Password (OTP) & Check your SPAM/PROMOTIONS folders

The application will pause and wait for the input of a one time pin (OTP) before you can continue. You should receive this pin to the contact information associated with the registration of your noports address (i.e. email or text message).

***If you are using a gmail.com account we have seen that sometimes the OTP gets stuck in the SPAM or PROMOTIONS folder. If you do not see the OTP check those folders.

Once you receive the message, enter the pin into the application and press enter to continue. The application should proceed to create the cryptographic keys and store them at ~/.atsign/keys/@my_noports_client_key.atKeys.

An address can only be activated once, to install this address to future devices, you must copy this file to the device (see 3.b.).

3.b. Activated this address before

If you have activated the client address before, you must copy the address from another machine where it's been activated.

The address will be located at ~/.atsign/keys/@my_noports_client_key.atKeys. Copy this file from your other machine to the same location on the machine that you are installing sshnpd on.

All Done!

(intel)

(apple)

If you don't own a pair of noports addresses, please visit before continuing.

sshnp is ready to go, you can now proceed to , or if you've already done that, checkout our .

download a release from GitHub
the registrar
installing your device
usage guide
sshnp-linux-x64.tgz
sshnp-macos-x64.zip
sshnp-windows-x64.zip
sshnp-linux-arm64.tgz
sshnp-macos-arm64.zip
sshnp-linux-arm.tgz
sshnp-linux-riscv.tgz