SSH Connect Skill
SSH into remote machines using credentials from `.env` file - no password prompts.
11 stars
Best use case
SSH Connect Skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
SSH into remote machines using credentials from `.env` file - no password prompts.
Teams using SSH Connect Skill should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
$curl -o ~/.claude/skills/ssh-connect/SKILL.md --create-dirs "https://raw.githubusercontent.com/EricGrill/agents-skills-plugins/main/plugins/mcp-proxmox-admin/ssh-connect/SKILL.md"
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ssh-connect/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How SSH Connect Skill Compares
| Feature / Agent | SSH Connect Skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
SSH into remote machines using credentials from `.env` file - no password prompts.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# SSH Connect Skill
SSH into remote machines using credentials from `.env` file - no password prompts.
## Setup
1. Create `.env` file in project root with your SSH credentials:
```bash
# Required
SSH_HOST=192.168.1.100
SSH_USER=ubuntu
# Authentication (choose one)
SSH_KEY_PATH=~/.ssh/id_rsa # Recommended: path to private key
SSH_PASSWORD=your_password # Alternative: password auth
```
2. Ensure Python dependencies are installed:
```bash
pip install paramiko python-dotenv
```
## Usage
### CLI
```bash
# Interactive shell
python .claude/skills/ssh-connect/ssh_connect.py
# Run single command
python .claude/skills/ssh-connect/ssh_connect.py "ls -la"
# Run multiple commands
python .claude/skills/ssh-connect/ssh_connect.py "cd /app && git pull && docker-compose restart"
```
### Python API
```python
from ssh_connect import SSHClient
# Auto-loads from .env
with SSHClient() as ssh:
output = ssh.run("hostname")
print(output)
# Or specify credentials directly
with SSHClient(host="192.168.1.100", user="ubuntu", key_path="~/.ssh/id_rsa") as ssh:
output = ssh.run("uptime")
```
## Environment Variables
| Variable | Required | Description |
|----------|----------|-------------|
| `SSH_HOST` | Yes | Remote hostname or IP |
| `SSH_USER` | Yes | SSH username |
| `SSH_PORT` | No | SSH port (default: 22) |
| `SSH_KEY_PATH` | No* | Path to SSH private key |
| `SSH_PASSWORD` | No* | SSH password |
*One of `SSH_KEY_PATH` or `SSH_PASSWORD` is required.
## Security Notes
- **Prefer SSH keys** over passwords when possible
- Add `.env` to `.gitignore` to prevent credential leaks
- Never commit credentials to version controlRelated Skills
We are still matching the closest adjacent skills for this page. In the meantime, continue through the full directory.