Add this page to your AI agent's context to enable SSH operations via sshDCommander. Copy the URL or the content below into your CLAUDE.md, .cursorrules, or system prompt.
sshDCommander v3.5.1 is a persistent SSH daemon with three CLI tools. It keeps SSH connections alive between your tool calls so you never reconnect. Server profiles store credentials securely in the OS keyring — no passwords in prompts.
Commands with pipes, quotes, semicolons, variable expansion, or special characters like {} | ; $ " ' < > [ ] \\ ` & will break when passed inline — shell metacharacters get re-interpreted at each layer.
Use the -s (script mode) flag. This wraps your command in a temporary script, uploads it, executes it on the server, and cleans up automatically.
For scripts longer than one line, write a local temp file, upload it with sshdcp, execute it, and clean up. This avoids all quoting and escaping issues entirely.
All files uploaded to Linux servers must be UTF-8 without BOM. sshDCommander auto-strips BOM on upload, but ensure your local file generation uses UTF-8 without BOM to avoid issues.
The first sshdcmd call to a server must include --connect to establish the SSH session. All subsequent commands reuse the connection automatically. Do not pass --connect again.
Every sshdcmd and sshdcp call requires --client-id. This identifies who is using the SSH session (for audit trail and concurrent access control).
Use a descriptive name: --client-id claude, --client-id cursor, --client-id deploy-script.
Every CLI tool supports -? for comprehensive, AI-optimized help output. This includes all options, examples, and behavior descriptions in a format designed for AI agents to parse.
Server profiles store connection details (host, port, username) and credentials (in the OS keyring). AI agents reference servers by name — no credentials in commands.
Point your AI agent to this page so it knows how to use sshDCommander:
Add to your CLAUDE.md:
For SSH operations, use sshDCommander. Reference: https://sshdcommander.com/docs/ai-instructionsAdd to your .cursorrules:
For SSH operations, use sshDCommander. Reference: https://sshdcommander.com/docs/ai-instructionsAdd to your .github/copilot-instructions.md:
For SSH operations, use sshDCommander. Reference: https://sshdcommander.com/docs/ai-instructionsAdd the URL to your system prompt or project instructions, or run sshdcmd -?and include the output in your agent's context. All three tools support -? for comprehensive help.