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
  • Options
  • Examples
Edit on GitHub
Export as PDF
  1. Usage
  2. npt Usage

Additional Configuration

Options

Option
Required
Default
Description

-h, --remote-host, --rh

localhost

Used if you want to bind to another host on the remote machine.

-x, --exit-when-connected

false

Instead of running the srv in the same process, fork the srv, print the connected local port to stdout, and exit the program.

--[no-]pss, --[no-]per-session-storage

true

Use ephemeral local storage for each session. It enables you to run multiple local clients concurrently. However: if you wish to run just one client at a time, then you will get a performance boost if you negate this flag.

-k, --key-file, --keyFile

~/.atsign/keys

Path to this client's atsign key file.

Examples

-h, --rh, --remote-host

This argument is the remote host. It is NOT required, this options defaults to localhost.

npt ... -h 192.168.x.x ...

-x, --exit-when-connected

This argument, forks the srv when connected.

npt ... -x ...

--[no-]pps, --[no-]per-session-storage

This argument defaults to true. It is used for when you want to run only one client at a time.

npt ... --no-pps ...

-k, --keyFile, --key-file

This argument defaults to ~/.atsign/keys, where your keys are stored.

npt ... -k /path/to/atKeys ...
Previousnpt UsageNextsshnp Usage

Last updated 10 months ago