MCPInstall

ssh

SSH remote access - connections, tunnels, keys, file transfers. Use when connecting to servers, managing SSH keys, setting up port forwarding, or transferring files with scp/rsync.

Installs
703
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations --skill ssh
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads ssh automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

<!-- TOC: Quick Start | THE EXACT PROMPT | Essential Commands | Config | AGENTS.md Blurb | References -->

SSH — Secure Remote Access

Core Capability: Secure shell connections, key management, tunneling, and file transfers.


Quick Start

# Connect to server
ssh user@hostname

# Connect with specific key
ssh -i ~/.ssh/my_key user@hostname

# Run remote command
ssh user@host "cd /app && git status"

# Copy file to remote
scp local.txt user@host:/remote/path/

# Sync directory (preferred over scp)
rsync -avzP ./local/ user@host:/remote/

THE EXACT PROMPT — Common Workflows

Connect Through Jump Host

# Single jump (bastion)
ssh -J jumphost user@internal-server

# Multiple jumps
ssh -J jump1,jump2 user@internal-server

Local Port Forward (access remote service locally)

# Access remote:80 via localhost:8080
ssh -L 8080:localhost:80 user@host

# Access db-server:5432 via localhost:5432 through jumphost
ssh -L 5432:db-server:5432 user@jumphost

Generate and Deploy Key

# Generate Ed25519 key (recommended)
ssh-keygen -t ed25519 -C "you@example.com"

# Copy public key to server
ssh-copy-id user@host

Essential Commands

TaskCommand
Connectssh user@host
Connect on portssh -p 2222 user@host
Connect with keyssh -i ~/.ssh/key user@host
Run remote commandssh user@host "command"
Interactive remotessh -t user@host "htop"
Copy to remotescp file.txt user@host:/path/
Copy from remotescp user@host:/path/file.txt ./
Sync to remotersync -avzP ./local/ user@host:/remote/
Local forwardssh -L local:remote:port user@host
Remote forwardssh -R remote:local:port user@host
SOCKS proxyssh -D 1080 user@host
Jump hostssh -J bastion user@internal
Generate keyssh-keygen -t ed25519
Copy key to serverssh-copy-id user@host
Debug connectionssh -vvv user@host

SSH Config

Location: ~/.ssh/config

Host myserver
    HostName 192.168.1.100
    User deploy
    Port 22
    IdentityFile ~/.ssh/myserver_key
    ForwardAgent yes

Host internal
    HostName 10.0.0.50
    User deploy
    ProxyJump bastion

Then connect with just: ssh myserver

Connection Multiplexing (faster reconnects)

Host *
    ControlMaster auto
    ControlPath ~/.ssh/sockets/%r@%h-%p
    ControlPersist 600
mkdir -p ~/.ssh/sockets

SSH Agent

# Start agent
eval "$(ssh-agent -s)"

# Add key
ssh-add ~/.ssh/id_ed25519

# Add with macOS keychain
ssh-add --apple-use-keychain ~/.ssh/id_ed25519

# List loaded keys
ssh-add -l

Security Tips

  • Use Ed25519 keys (faster, more secure than RSA)
  • Set PasswordAuthentication no on servers
  • Keep keys encrypted with passphrases
  • Use ssh-agent to avoid typing passphrase repeatedly
  • Restrict key usage with command= in authorized_keys

AGENTS.md Blurb

Copy this to your project's AGENTS.md:

### SSH Access

SSH is configured for these servers:

- **Production:** `ssh prod` (via ~/.ssh/config)
- **Staging:** `ssh staging`

Common operations:

\`\`\`bash
ssh prod "cd /app && git status"      # Check deploy status
rsync -avzP ./dist/ prod:/app/dist/   # Sync files
ssh -L 5432:localhost:5432 prod       # DB tunnel
\`\`\`

Keys: `~/.ssh/id_ed25519` (add with `ssh-add`)

References

TopicReference
Full command referenceCOMMANDS.md
Port forwarding detailsTUNNELS.md
Key managementKEYS.md

FAQ

What does the ssh skill do?

SSH remote access - connections, tunnels, keys, file transfers. Use when connecting to servers, managing SSH keys, setting up port forwarding, or transferring files with scp/rsync.

How do I install ssh?

Run npx skills add https://github.com/dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations --skill ssh in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ssh/ (personal) or .claude/skills/ssh/ (project).

Which AI agents can use ssh?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is ssh safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains ssh?

It is published by dicklesworthstone in dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations. It has 703 recorded installs.

More from dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations

View all →

ui-ux-polish

dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations

Open the skill to read its SKILL.md instructions.

Frontend & Design234 installs

gcloud

dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations

Open the skill to read its SKILL.md instructions.

233 installs

agent-swarm-workflow

dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations

Open the skill to read its SKILL.md instructions.

planning-workflow

dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations

Open the skill to read its SKILL.md instructions.

cass

dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations

Open the skill to read its SKILL.md instructions.

98 installs

de-slopify

dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations

Open the skill to read its SKILL.md instructions.

93 installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs