ssh-connect

Connects to remote servers via SSH and executes commands using system SSH clients.

1|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/qfwc258/trae-skills --skill ssh-connect-qfwc258
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssh-connect
Source: https://github.com/qfwc258/trae-skills/tree/main/ssh-connect
Command: npx skills add https://github.com/qfwc258/trae-skills --skill ssh-connect-qfwc258

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? This Skill removes the friction of manually typing SSH connection details by providing a preconfigured script that connects to a specific remote server (armbian at 192.168.2.2) and runs commands directly from the command line. ## Core Features & Use Cases - Interactive SSH Sessions: Launch a full interactive terminal session to the remote server with a single command. - Remote Command Execution: Run one or multiple shell commands on the remote server and capture the output, e.g. uptime; free -h; df -h. - Multi-Client Support: Automatically detects and uses either OpenSSH (ssh) or PuTTY (plink) depending on what is installed. - Use Case: When you need to quickly check disk space or system load on your armbian server, invoke this Skill to run the diagnostic commands remotely without remembering the host, port, or credentials. ## Quick Start Ask the assistant to connect to the armbian server via SSH and run a command such as checking uptime and disk usage.

Frequently Asked Questions about ssh-connect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute a command on a remote server via SSH?

Run the script with the command as an argument, for example `python ssh_connect.py "ls -la /root"`. The script connects to the configured host and executes the command, printing the output when using plink.

How do I start an interactive SSH session with this script?

Run `python ssh_connect.py` without any arguments. The script detects an available SSH client and opens an interactive terminal session to the configured server at 192.168.2.2 on port 22.

Does this SSH script work on Windows without OpenSSH?

Yes, the script falls back to PuTTY's plink if the OpenSSH ssh client is not found. With plink it passes the password via the -pw flag and captures command output automatically.

Why does SSH authentication fail when connecting to a server?

Authentication fails when the username or password is wrong, password authentication is disabled on the server, or the account is locked. Verify credentials and check the server's SSH configuration for password login permissions.

Is it safe to store SSH passwords in plain text scripts?

Storing credentials in plain text is only acceptable in trusted private networks. For production environments, use SSH key-based authentication instead of hardcoded passwords to reduce exposure risk.