ssh-setup

Deploy SSH public keys to remote authorized_keys files for passwordless login.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/v2vv/agent-skills --skill ssh-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssh-setup
Source: https://github.com/v2vv/agent-skills/tree/main/ssh-setup
Command: npx skills add https://github.com/v2vv/agent-skills --skill ssh-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies setting up SSH key-based authentication on remote servers, eliminating the need to enter passwords for subsequent logins.

Core Features & Use Cases

  • Automate SSH key generation: Detect existing keys and generate a new pair if absent.
  • Public key deployment: Copy the public key to the remote server to enable passwordless login.
  • Verified remote access: Quickly verify access by attempting an SSH login to the configured host.

Quick Start

Provide the remote username and hostname (or IP) to deploy your public key to a remote server and enable passwordless authentication. Use the scripts/deploy_key.ps1 with the appropriate -User, -HostName, -Port, and -PubFile parameters, or construct the equivalent SSH command to append your public key to the remote host's ~/.ssh/authorized_keys.

Frequently Asked Questions about ssh-setup

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

FAQPage Schema
How do I set up passwordless SSH login to a remote server?

Passwordless SSH login is enabled by deploying your local public key to the remote server's ~/.ssh/authorized_keys file. This Skill automates detecting or generating an SSH key pair and deploying it to the remote host.

Can I deploy my SSH public key to multiple servers at once?

Yes, SSH public key deployment can be applied across multiple servers. You provide the remote username and hostname for each target, and the script appends your public key to the remote authorized_keys file.

What is the best way to automate SSH key generation and deployment?

Automating SSH key deployment involves a script that detects existing keys and generates a new pair if absent. The deploy_key.ps1 script handles this by copying your public key to the remote host using parameters like -User and -HostName.

Does the SSH key deployment script require any manual commands?

The SSH key deployment script can be run directly with parameters, but you can also construct an equivalent manual SSH command to append your public key to the remote host's ~/.ssh/authorized_keys if needed.

How do I verify that passwordless SSH access is working?

Passwordless SSH access is verified by attempting an SSH login to the configured host. After the public key is deployed, the Skill quickly checks access by connecting to the remote server without requiring a password.