build-setup
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…
Establish and manage SSH connections to remote machines, including key generation, configuration, and file transfers. Use when connecting to remote servers, executing remote commands, or transferring files via SCP.
$ npx -y skills add openhands/extensions --skill ssh --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sshContext preview
The summary Claude sees to decide when to auto-load this skill.
Establish and manage SSH connections to remote machines, including key generation, configuration, and file transfers. Use when connecting to remote servers, executing remote commands, or transferring files via SCP.
name: ssh description: Establish and manage SSH connections to remote machines, including key generation, configuration, and file transfers. Use when connecting to remote servers, executing remote commands, or transferring files via SCP. triggers: - ssh - remote server - remote machine - remote host - remote connection - secure shell - ssh keys
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`.
ssh username@hostname
When prompted, you should ask the user for their password or a private key.
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
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/configThen connect using the alias:
ssh alias
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/
Copy a directory recursively:
scp -r /path/to/local/directory username@hostname:/path/to/remote/directory/
Start the SSH agent:
eval "$(ssh-agent -s)"
Add a key to the agent:
ssh-add ~/.ssh/key_name
The most basic approach is to ensure proper file permissions:
# Set correct permissions for private keys chmod 600 ~/.ssh/id_ed25519 # Set correct permissions for public keys chmod 644 ~/.ssh/id_ed25519.pub # Set correct permissions for SSH directory chmod 700 ~/.ssh
This repository is the public extensions registry for OpenHands. It contains reusable, shareable skills, plugins, and Agent Canvas Apps that customize agent behavior and interfaces. Skills overview docs: SDK skill guide:
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…
End-to-end COBOL to Java migration workflow. Handles build setup, mainframe dependency removal, and code migration with test…
Create a transformation guide for replacing mainframe-specific COBOL constructs with standard COBOL equivalents. Use when…
Apply mainframe dependency transformations to COBOL code using a pre-generated transformation guide. Converts CICS/VSAM…
Migrate COBOL code to idiomatic Java, preserving business logic while following Java best practices. Use for COBOL modernization…
A test skill that responds to the magic word "alakazam" with a specific phrase