New
Fix ~/.ssh Permissions
Sets the only permissions OpenSSH accepts: 700 on the directory, 600 on private keys and config, 644 on public keys.
OpenSSH silently ignores a private key that other users could read, and falls back to password authentication without saying why. This is the single most common reason a correct key appears not to work.
When you need this: When the server keeps asking for a password even though the key is in place, or after copying keys from another machine or a backup.
Command
2 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.