Documentation

Get started in 60 seconds

1. Install

terminal
$ pip install sshdcommander

Requires Python 3.10+. Available on Windows and Linux.

2. Activate your license

terminal
$ sshdctl activate SSHDCMD-XXXX-XXXX-XXXX-XXXX --email [email protected]
License activated. Expires: 2027-04-03

Your license key is emailed after purchase. One active installation per key.

3. Start the daemon

terminal
$ sshdctl start-daemon
Daemon started on 127.0.0.1:19222

4. Add a server profile

terminal
$ sshdctl server add --name prod -H 10.0.1.5 -u deploy --store
Server 'prod' added. Password stored in OS keyring.
$ sshdctl server set-default prod

5. Execute commands

terminal
$ sshdcmd "uptime" --connect
Connected to 10.0.1.5:22 as deploy
14:32:01 up 42 days, 3:15, 0 users
$ sshdcmd "df -h /"
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 80G 24G 52G 32% /

The second command reuses the existing SSH connection. No reconnect.

6. Transfer files

terminal
$ sshdcp upload ./release.tar.gz /opt/app/ --manifest deploy.json
SHA-256 verified release.tar.gz (24.7 MB) in 1.2s
$ sshdcp verify deploy.json
All files verified. 1/1 passed.

7. When you are done

terminal
$ sshdctl done
Session closed. Daemon running.

The daemon keeps running in the background. Next command reuses the connection instantly.

CLI Reference

sshdcmd

Execute remote commands.

sshdcmd "COMMAND" [--server NAME] [--script] [--timeout N] [--env KEY=VALUE]

sshdcp

Transfer files with integrity verification.

sshdcp upload LOCAL REMOTE [--manifest PATH] [--resume]

sshdctl

Manage daemon, servers, and certificates.

sshdctl [start-daemon | connect | server add | ca init | done]

All tools support -? for comprehensive AI-friendly help output.