Skip to content
cccskills
FreePublished on GitHub

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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (4)

  • SKILL.md3.8 KB
  • references/COMMANDS.md3.3 KB
  • references/KEYS.md4.4 KB
  • references/TUNNELS.md4.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

<!-- 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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

The philosophy and practical benefits of agent fungibility in multi-agent software development. Why homogeneous, interchangeable agents outperform specialized role-based systems at scale.

The English summary is being prepared. Showing the original description.

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations73Updated Sep 6, 2026

MCP Agent Mail for multi-agent coordination. Use when agents need file locks, messaging, inboxes, or conflict prevention. Handles macro_start_session, file_reservation_paths, send_message, threading, pre-commit guards.

The English summary is being prepared. Showing the original description.

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations73Updated Sep 6, 2026

Jeffrey Emanuel's multi-agent implementation workflow using NTM, Agent Mail, Beads, and BV. The execution phase that follows planning and bead creation. Includes exact prompts used.

The English summary is being prepared. Showing the original description.

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations73Updated Sep 6, 2026

Convert markdown plans into beads with dependencies using br CLI. Use when creating task graphs, polishing beads before implementation, or bridging planning to agent swarm execution.

The English summary is being prepared. Showing the original description.

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations73Updated Sep 6, 2026

bv

Free

Beads Viewer - Graph-aware triage engine for Beads projects. Computes PageRank, betweenness, critical path, and cycles. Use --robot-* flags for AI agents.

The English summary is being prepared. Showing the original description.

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations73Updated Sep 6, 2026

caam

Free

Manage AI coding CLI accounts with sub-100ms switching. Use when hitting rate limits on Claude Max, GPT Pro, or Gemini Ultra subscriptions and need instant account swapping without browser OAuth.

The English summary is being prepared. Showing the original description.

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations73Updated Sep 6, 2026

See all skills by Dicklesworthstone

Report a problem with this skill