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
  • Additional Options
  • -k, --key-file
  • -v, --verbose
  • -l, --local-port
  • --remote-sshd-port
  • -u, --remote-user-name
  • -U, --tunnel-user-name
  • -i, --identity-file
  • -s, --send-ssh-public-key
  • --idle-timeout
  • -o, --local-ssh-options
  • --add-forwards-to-tunnel
  • --ssh-client
  • --legacy-daemon
  • -x, --output-execution-command
  • --config-file
  • --list-devices
Edit on GitHub
Export as PDF
  1. Usage
  2. sshnp Usage

Client Additional Configuration

NoPorts client `sshnp` additional configuration

Additional Options

-k, --key-file

Specify the .atKeys file for the -f, --from atSign if it's not stored in ~/.atsign/keys

-v, --verbose

More logging.

-l, --local-port

The local port which will be forwarded to the remote sshd port. If this is set to "0", it defers to to the OS to assign an ephemeral port. (Defaults to "0")

--remote-sshd-port

The remote port which we expect sshd to be running on.

(Defaults to "22")

-u, --remote-user-name

The username to use in the ssh session on the remote host.

(a.k.a. the user you want to sign in as)

-U, --tunnel-user-name

The username to use for the initial ssh tunnel.

(a.k.a. the user running sshnpd)

-i, --identity-file

Identity file to use for the ssh connection.

--identity-passphrase

Passphrase for identity file.

-s, --send-ssh-public-key

Send the ssh public key to the remote host for automatic authorization.

--idle-timeout

Number of seconds after which inactive ssh connections will be closed

(Defaults to "15")

-o, --local-ssh-options

Additional ssh options which are passed to the ssh program.

--add-forwards-to-tunnel

Enable this flag to pass the -o, --local-ssh-options to the initial ssh tunnel instead of the ssh session.

--ssh-client

Which ssh-client to use, openssh (default) or dart.

--legacy-daemon

Request is to a legacy (< 4.0.0) noports daemon.

-x, --output-execution-command

Output the ssh execution command instead of executing it.

--config-file

Pass command line arguments via an environment file.

--list-devices

List devices which have discovery (-u) enabled.

Previoussshnp UsageNextsshnpd configuration

Last updated 10 months ago