LogoLogo
  • NoPorts Documentation
  • Getting Started
  • Installation
    • Quick Start from macOS or Windows
    • Connecting from macOS
      • macOS to macOS
      • macOS to Linux
      • macOS to Windows
    • Connecting from Linux
      • Linux to macOS
      • Linux to Linux
      • Linux to Windows
    • Connecting from Windows
      • Windows to macOS
      • Windows to Linux
      • Windows to Windows
    • 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)
    • OpenWrt Installation Guide
    • Manual Installation Guides
      • Device Installation
        • Tmux session
        • Standalone Binaries
        • Systemd Unit
        • Headless
      • Client Installation
    • Custom OS/Device Installs
      • IPFire
    • Installs at Scale
    • Upgrading NoPorts Software
      • NoPorts Client Upgrade
      • NoPorts Daemon Upgrade
    • Available Releases
  • Use Cases
    • SSH
    • SFTP
    • RDP
    • Web Server
    • SMB
    • Be your own VPN
  • Usage
    • npt Usage
    • sshnp Usage
      • Client Additional Configuration
    • sshnpd configuration
      • Daemon Additional Configuration
  • Integrations
    • OpenSSH Config
    • PuTTY config
  • Resources
    • 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?
  • Product Information
    • The NoPorts Philosophy
    • NoPorts Desktop Application
    • NoPorts Policy Service
    • Frequently Asked Questions
    • 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
  • --identity-passphrase
  • -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 15 days ago