ssh

ssh is a skill for Claude Code, Codex from OpenHands/extensions. It costs 39 tokens per session (803 once invoked), scanned D, original, MIT.

A guide for using SSH, a secure way to connect to another computer over a network. It covers connections, key setup, remote commands, configuration, and file transfers.

In plain words
What is it for?
It helps developers connect to servers, run commands remotely, and copy files with SSH or SCP.
Why use it?
It removes the need to manage remote machines only through their local interface and helps avoid repeatedly entering connection details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps developers connect to servers, run commands remotely, and copy files with SSH or SCP.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openhands/extensions/ssh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenHands/extensions --skill ssh
Clone the repo
git clone --depth 1 https://github.com/OpenHands/extensions

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ssh

README.md
[![agentmods](https://agentmods.dev/badge/skills/openhands/extensions/ssh/github.svg)](https://agentmods.dev/skills/openhands/extensions/ssh)
Your own site
<a href="https://agentmods.dev/skills/openhands/extensions/ssh"><img src="https://agentmods.dev/badge/skills/openhands/extensions/ssh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ssh

Your own site · 80×15
<a href="https://agentmods.dev/skills/openhands/extensions/ssh"><img src="https://agentmods.dev/badge/skills/openhands/extensions/ssh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 803 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00803
Opus 5.5 $0.00016 $0.00321
Sonnet 5.5 $0.00008 $0.00161
Haiku 4.5 $0.00004 $0.00080

Measured 2mo ago against content hash ca7cca10ed32, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

ssh scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 600 ~/.ssh/config

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

chmod 600 ~/.ssh/id_ed25519
skills/ssh/SKILL.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SSH Skill

This skill provides capabilities for establishing and managing SSH connections to remote machines. Windows PowerShell equivalents for SSH config creation, key paths, ssh-agent, and permissions are in references/windows.md.

Capabilities

  • Establish SSH connections using password or key-based authentication
  • Generate and manage SSH key pairs
  • Configure SSH for easier connections
  • Execute commands on remote machines
  • Transfer files between local and remote machines
  • Manage SSH configurations and known hosts

Authentication Methods

Password Authentication

ssh username@hostname

When prompted, you should ask the user for their password or a private key.

Key-Based Authentication

Generate a new SSH key pair:

ssh-keygen -t ed25519 -f ~/.ssh/key_name -C "comment" -N ""

Copy the public key to the remote server:

ssh-copy-id -i ~/.ssh/key_name.pub username@hostname

Connect using the private key:

ssh -i ~/.ssh/key_name username@hostname

SSH Configuration

Create or edit the SSH config file for easier connections:

mkdir -p ~/.ssh
cat > ~/.ssh/config << 'EOF'
Host alias
    HostName hostname_or_ip
    User username
    IdentityFile ~/.ssh/key_name
    Port 22
    ServerAliveInterval 60
EOF
chmod 600 ~/.ssh/config

Then connect using the alias:

ssh alias

Common SSH Options

  • -p PORT: Connect to a specific port
  • -X: Enable X11 forwarding
  • -L local_port:remote_host:remote_port: Set up local port forwarding
  • -R remote_port:local_host:local_port: Set up remote port forwarding
  • -N: Do not execute a remote command (useful for port forwarding)
  • -f: Run in background
  • -v: Verbose mode (add more v's for increased verbosity)

File Transfer with SCP

Copy a file to the remote server:

scp /path/to/local/file username@hostname:/path/to/remote/directory/

Copy a file from the remote server:

scp username@hostname:/path/to/remote/file /path/to/local/directory/

Read the full file on GitHub · 137 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 137 lines · 39 tokens per session scan D ca7cca10ed32

Subscribe to this mod's changes

ssh is a skill published in the GitHub repository OpenHands/extensions (190 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 803 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

ssh compared with skills from other repositories

ssh next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sshOpenHands/extensionsSkill190todayMITD39Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code