ssh-config

Generate SSH keys, manage ssh-agent, and configure tunnels and jump hosts.

3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill ssh-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssh-config
Source: https://github.com/1Mangesh1/dev-skills-collection/tree/main/skills/ssh-config
Command: npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill ssh-config

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

SSH key management, configuration, and tunneling often require manual, error-prone steps across key generation, agent handling, and precise config wiring. This Skill streamlines those tasks by providing a ready-to-use workflow for creating keys, loading them into the ssh-agent, updating ~/.ssh/config, and configuring jump hosts and port-forwarded tunnels to securely access remote servers.

Core Features & Use Cases

  • Key management: generate keys (ed25519 or rsa), add keys to the ssh-agent, and distribute public keys to servers.
  • SSH config orchestration: maintain a clean, reusable ~/.ssh/config with Host definitions, JumpHost patterns, and strong permissions.
  • Tunneling and jump hosts: set up local, remote, and dynamic tunnels and use jump hosts to reach internal targets.
  • Security hardening: enforce strict file permissions and minimize credential exposure in workflows.

Quick Start

Generate a new SSH key, add it to the authentication agent, and configure your SSH client for a jump host and port-forwarded tunnels.

Frequently Asked Questions about ssh-config

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

FAQPage Schema
How do I automate SSH key generation and ssh-agent management for server access?

Automate SSH key generation and ssh-agent management by generating ed25519 or rsa keys, loading them into the agent, and distributing public keys to servers. This workflow eliminates manual key handling and ensures proper authentication setup for remote server access.

What is the best way to configure an SSH jump host to reach internal targets?

Configure an SSH jump host by defining Host patterns and JumpHost directives in your ~/.ssh/config file. This allows your SSH client to route connections through an intermediate server, securely reaching internal targets that are not directly accessible from your local machine.

How do I set up local, remote, and dynamic SSH tunnels for secure port forwarding?

Set up SSH tunnels by configuring local, remote, and dynamic port forwarding rules within your SSH config. This creates secure, encrypted pathways for forwarding traffic across network boundaries, allowing safe access to remote services without exposing ports publicly.

Can I maintain strong file permissions and security hardening across my SSH config files?

Yes, you can enforce strict file permissions and security hardening across your SSH config files. The workflow applies proper access controls to keys, config files, and agent processes, actively minimizing credential exposure during server access operations.

Does this SSH config workflow support both ed25519 and rsa key types?

Yes, this SSH config workflow supports both ed25519 and rsa key types. It automates the generation of either cryptographic standard, adds the resulting keys to the ssh-agent, and integrates them directly into your reusable ~/.ssh/config definitions.

Why do I need to update my ~/.ssh/config file when managing multiple SSH tunnels and jump hosts?

Updating your ~/.ssh/config file is necessary to maintain clean, reusable definitions for multiple tunnels and jump hosts. Centralizing this configuration prevents manual connection errors, organizes Host patterns, and ensures consistent secure access across all remote servers.