ssh-configuration

Secure SSH server and client configuration.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ssh-configuration" with this command: npx skills add bagelhole/devops-security-agent-skills/bagelhole-devops-security-agent-skills-ssh-configuration

SSH Configuration

Secure SSH server and client configuration.

Key Management

Generate key

ssh-keygen -t ed25519 -C "user@example.com"

Copy to server

ssh-copy-id user@server

Add to agent

eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519

SSH Config (~/.ssh/config)

Host production HostName prod.example.com User deploy IdentityFile ~/.ssh/prod_key Port 22

Host bastion HostName bastion.example.com User admin

Host internal HostName 10.0.0.5 User admin ProxyJump bastion

Secure Server Config

/etc/ssh/sshd_config

PermitRootLogin no PasswordAuthentication no PubkeyAuthentication yes MaxAuthTries 3 AllowUsers deploy admin

Tunneling

Local port forward

ssh -L 8080:internal:80 bastion

Remote port forward

ssh -R 8080:localhost:80 server

SOCKS proxy

ssh -D 1080 server

Best Practices

  • Use ed25519 keys

  • Disable password auth

  • Use SSH agent forwarding carefully

  • Implement jump hosts/bastions

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

sops-encryption

No summary provided by upstream source.

Repository SourceNeeds Review
Security

linux-administration

No summary provided by upstream source.

Repository SourceNeeds Review
Security

linux-hardening

No summary provided by upstream source.

Repository SourceNeeds Review