
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
Cross-platform SSH remote execution, passwordless key management, Windows Session 0 desktop launcher, SFTP transfers & MCP server
A unified CLI and Model Context Protocol (MCP) server for cross-platform SSH remote execution, passwordless key management, Windows Session 0 interactive desktop process launching, and SFTP file transfers.
Terminal / Human (CLI) AI Agent (Claude / Antigravity)
│ │
▼ ▼
sshctl (bin/sshctl.js) MCP Protocol (stdio JSON-RPC)
│ │
└──────────────────┬──────────────────────┘
▼
Core SSH Engine
│
┌───────────────┼───────────────┐
▼ ▼ ▼
Connection Pool PowerShell/UTF-16LE SFTP Channel
(60s idle reuse) (Session 0 / 8K limit) (FastPut / FastGet)
│ │ │
└───────────────┼───────────────┘
▼
Remote Target Host
(Windows / Linux / macOS)
sshctl) or as an automated MCP server (sshctl mcp).ssh2. Does not require WSL, Git Bash, sshpass, iconv, or local ssh binaries.powershell.exe -EncodedCommand), removing quote escaping errors.--desktop): Launches Windows GUI applications directly onto the logged-in user's interactive desktop (Session 1) via Task Scheduler.cmd.exe command length limit, uploading a temporary script via SFTP with execution and cleanup.user@host:port with 60-second idle timeouts.~/.sshctl/profiles.json, resolving environment variables (env:VAR_NAME) without storing plain text passwords in chat logs.git clone https://github.com/nguyenvanhuy0612/sshctl.git
cd sshctl
npm install
npm run build
npm test # 50 unit and integration tests (100% pass)
# List profiles
sshctl profiles
# Test connectivity and probe remote OS
sshctl test my-profile
# Run remote command
sshctl exec my-profile "hostname && dir"
# Launch GUI app on Windows active desktop
sshctl exec my-profile "calc.exe" --desktop
# Upload/Download files via SFTP
sshctl push my-profile local.txt /remote/path/file.txt
sshctl pull my-profile /remote/path/file.txt local.txt
# Generate Windows OpenSSH installer 1-liner
sshctl bootstrap-rdp --admin
sshctl implements the standard Model Context Protocol (MCP). Any MCP client automatically discovers all tools, arguments, and prompts over stdio JSON-RPC without needing external configuration files.
claude mcp add sshctl -- node "/path/to/sshctl/dist/index.js"
claude_desktop_config.json) / Cursor (~/.cursor/mcp.json){
"mcpServers": {
"sshctl": {
"command": "node",
"args": ["/path/to/sshctl/dist/index.js"]
}
}
}
To enable Antigravity's lazy-loading schema discovery:
npm run export:schemas
This automatically writes tool definition JSONs and instructions.md to ~/.gemini/antigravity/mcp/sshctl/.
ssh_list_profiles: List profiles from ~/.sshctl/profiles.json.ssh_test_connection: Probe SSH connectivity & detect target OS.ssh_clear_known_hosts: Clear stale entries from ~/.ssh/known_hosts.ssh_exec: Execute remote commands with Base64 UTF-16LE, Session 0 bypass (desktop: true), and output capping.ssh_setup_passwordless: Deploy ed25519 key to Linux (~/.ssh/authorized_keys) or Windows (administrators_authorized_keys with strict ACLs).ssh_remove_passwordless: Revoke public key or clear all keys.ssh_upload_file: Upload file via SFTP.ssh_download_file: Download file via SFTP.ssh_generate_rdp_bootstrap: Generate OpenSSH installation 1-liner.MIT © 2026 Nguyen Van Huy
FAQs
Cross-platform SSH remote execution, passwordless key management, Windows Session 0 desktop launcher, SFTP transfers & MCP server
The npm package sshctl-mcp receives a total of 12 weekly downloads. As such, sshctl-mcp popularity was classified as not popular.
We found that sshctl-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.