ssh-connect

Automate SSH connections, command execution, and file transfers with expect scripting.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a reliable method to establish SSH connections to servers, handling hangs, password authentication, and file transfers.

Core Features & Use Cases

  • SSH Connection Management: Automates the process of connecting to a server using SSH, with options for key-based or password-based authentication.
  • Command Execution: Executes commands on the remote server, including sudo commands for elevated privileges.
  • File Transfer: Supports file transfers using SCP and rsync via SSH.
  • Use Case: Ideal for automating deployment tasks, running scripts on remote servers, or managing server configurations.

Quick Start

Use the ssh-connect skill to establish an SSH connection to your server at '192.168.1.100'.

Frequently Asked Questions about ssh-connect

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

FAQPage Schema
How do I automate SSH connections to a remote server with password authentication?

Automate SSH connections by using expect scripting to interactively handle password prompts and establish reliable sessions to remote servers without manual intervention.

What is the best way to run sudo commands on a remote server via SSH non-interactively?

Execute sudo commands on a remote server via SSH by leveraging expect scripting to automatically supply the required password prompts for elevated privileges during the session.

Can I transfer files to a remote server using SCP and rsync over an automated SSH connection?

Yes, you can transfer files using SCP and rsync over an automated SSH connection, with expect scripting handling the authentication to ensure successful file transfers.

Why does my automated SSH script hang when connecting to a remote server?

Automated SSH scripts hang due to unexpected prompts or network timeouts; using expect scripting handles these hangs by automating the interactive response sequence.

Does expect scripting work for automating deployment tasks on remote servers?

Expect scripting works for automating deployment tasks on remote servers by managing SSH connections, executing commands, and handling file transfers reliably.