From claude-commands
Steers work on a specific Ubuntu machine (jeff-ubuntu) via SSH. Use when asked to run commands, install software, check services, or manage files on that box.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-commands:linux-remoteThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
ssh jeff-ubuntu # alias in ~/.ssh/config → [email protected]
jeff-ubuntu / 192.168.254.128 (LAN only)$USER~/.ssh/id_jeff_ubuntu (passwordless, no -i flag needed via alias)expect if already known in contextAlways use ssh jeff-ubuntu '<command>' for one-liners:
ssh jeff-ubuntu 'sudo apt update && sudo apt install -y <pkg>'
ssh jeff-ubuntu 'systemctl status <service>'
ssh jeff-ubuntu 'cat /var/log/syslog | tail -50'
For multi-line scripts, pipe via heredoc:
ssh jeff-ubuntu 'bash -s' << 'EOF'
sudo apt update
sudo apt install -y openssh-server
sudo systemctl enable --now ssh
EOF
If the user's password is in context (currently: ask user), use expect:
expect -c "
spawn ssh jeff-ubuntu sudo <command>
expect {
\"password\" { send \"<password>\r\"; exp_continue }
eof
}
"
Or pass via stdin:
echo '<password>' | ssh jeff-ubuntu 'sudo -S <command>'
scp /local/file jeff-ubuntu:/remote/path # local → remote
scp jeff-ubuntu:/remote/file /local/path # remote → local
rsync -avz /local/ jeff-ubuntu:/remote/ # sync directory
| Task | Command |
|---|---|
| Check disk | ssh jeff-ubuntu 'df -h' |
| Running services | ssh jeff-ubuntu 'systemctl list-units --state=running' |
| Installed packages | ssh jeff-ubuntu 'dpkg -l | grep <pkg>' |
| Tail a log | ssh jeff-ubuntu 'sudo journalctl -fu <service>' |
| Reboot | ssh jeff-ubuntu 'sudo reboot' (warn user first) |
ping 192.168.254.128406402544) is the fallback for GUI access if SSH is downnpx claudepluginhub jleechanorg/claude-commands --plugin claude-commandsEstablishes SSH connections to remote servers for executing commands, checking logs, restarting services, and managing Docker containers via bash scripts.
Guides connecting to remote servers via SSH, with multiple authentication methods (SSH keys, sshpass, tmux, paramiko/fabric), Docker container access, file transfer, and troubleshooting.
Bootstraps, diagnoses, transfers files, and operates SSH access from Windows/macOS/Linux to Linux, POSIX, gateway, bastion, or Slurm/HPC targets using a bundled SSH toolkit.