This skill provides capabilities for establishing and managing SSH connections to remote machines. Ideal for developers and system administrators needing to connect and operate on remote servers.
$ npx skills add https://github.com/openhands/skills --skill sshThe SSH Skill provides capabilities for establishing and managing SSH connections to remote machines. It enables developers and system administrators to connect to and operate on remote servers programmatically. This skill is essential for automation workflows that require secure shell access, remote command execution, and server management tasks. By integrating SSH functionality into your AI agent, you can automate remote operations, streamline deployment processes, and manage infrastructure without manual intervention.
Install using the command: `$ npx skills add https://github.com/openhands/skills --skill ssh`
Establish SSH connections using password or key-based authentication
Generate and manage SSH key pairs
Transfer files between local and remote machines
Execute commands on remote machines
$ npx skills add https://github.com/openhands/skills --skill sshgit clone https://github.com/openhands/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate an SSH command to connect to [SERVER_IP] as user [USERNAME] using key-based authentication. Use port [SSH_PORT] if provided, otherwise default to 22. Include a verbose flag for debugging. Example: 'ssh -i ~/.ssh/id_rsa -p 2222 -v [USERNAME]@[SERVER_IP]'.
```bash ssh -i ~/.ssh/id_rsa -p 22 -v [email protected] ``` **Output:** ``` OpenSSH_8.9p1 Ubuntu-3ubuntu0.4, OpenSSL 3.0.2 15 Mar 2022 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files debug1: Connecting to 192.168.1.100 [192.168.1.100] port 22. debug1: Connection established. debug1: identity file /home/user/.ssh/id_rsa type -1 debug1: identity file /home/user/.ssh/id_rsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4 ... [email protected]'s password: ```
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan