CLI companion

Use SSH connections from scripts or automations — no login dialog needed.

How does it work?

NeoSSHWinManager-cli.exe is a separate console app that communicates with the running main app. Enable CLI access for a connection and get an access key — use it from any script to connect instantly.

Requirements

  • The main app is running and you are signed in.
  • CLI access is enabled for the connection.
  • You have the access key (visible in the connection editor).

Examples

Interactive SSH session

NeoSSHWinManager-cli.exe --connect-cli "<access_key>"

Run a single command

NeoSSHWinManager-cli.exe --connect-cli "<access_key>" --exec "uname -a"
NeoSSHWinManager-cli.exe --connect-cli "<access_key>" --exec "hostname"
NeoSSHWinManager-cli.exe --connect-cli "<access_key>" --exec "cd /var/www && ls -la"

Options

Option Description
--connect-cli <key>Access key for the connection.
-connectssh <key>Alias (alternative spelling).
--exec "<cmd>"Optional: run a command instead of an interactive shell.

Exit codes

  • 0 — Success.
  • 1 — Error (app not running, not signed in, invalid key).
  • 2 — Missing arguments.
Security note The access key is only transferred locally — never over the network. Don't put keys in plain text in scripts or repositories; read them from a local .env file or the Credential Manager instead.