SSH (OpenSSH) 10 · Keys and agent

Fix permissions that SSH rejects

SSH ignores keys and config files that other users can read.

chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_ed25519 ~/.ssh/config

Official SSH (OpenSSH) 10 documentation

More keys and agent commands

All keys and agent commands · SSH (OpenSSH) 10 cheatsheet

Was this page helpful?