Before troubleshooting SSH issues, make sure your permissions are right — wrong permissions are a common silent culprit. The .ssh directory should be 700 (rwx——) — only your user can enter, read, or modify it. Both authorized_keys and private keys should be 600 (rw——-) — only your user can read and write them. Public keys …
Continue reading “Today I learned: SSH permissions on Linux and ssh-agent”