Table of Contents

SSH Key Management

This page is meant to assist in setting up and maintaining SSH keys.


SSH Directory Permissions

chmod 700 ~/.ssh
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts
chmod 644 ~/.ssh/config
chmod 600 ~/.ssh/id_ed25519
chmod 644 ~/.ssh/id_ed25519.pub
chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/id_rsa.pub

Generating SSH Keys

ED25519


RSA


Verifying SSH Keys

Verify SSH Key Password


Verify SSH Private Key Matches Public Key


Modifying SSH Keys

Change SSH Key Password


Change SSH Key Comment


SSH-Agent