Why do SSH key permissions matter?
IntermediateConceptNetworking, SSH & Scheduling
Answer
sshd's StrictModes yes (default) refuses keys if the home directory, ~/.ssh or authorized_keys is writable by others, and ssh refuses a private key readable by others ("UNPROTECTED PRIVATE KEY FILE").
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys ~/.ssh/id_ed25519
chmod 644 ~/.ssh/id_ed25519.pub
More on Networking, SSH & Scheduling
Which `ip` commands replace ifconfig, route and arp?BeginnerWhat does `ss` show, and which flags do you use?BeginnerExplain the TCP connection states you see in ss.AdvancedWhat happens, step by step, when you run `curl https://example.com`?AdvancedWhich curl flags are most useful for debugging?BeginnerHow do you use `dig` for DNS troubleshooting?Beginner