Timeline for SSH is requiring password when public key is on remote host
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 15, 2020 at 8:29 | comment | added | dave_thompson_085 | This is wrong. OpenSSH requires privatekey files to be unreadable (and unwritable) by anyone but owner, but authorized_keys, and known_hosts and other publickey (and cert) files and the directory, only need to be unwritable. OpenSSH itself creates (if needed) the files and directory with 644 and 755 respectively (ignoring umask!) and they are used. | |
| Dec 15, 2017 at 9:20 | comment | added | Olivier Dulac |
This is probably the correct answer, as everything worked (ssh to it, transfer of key, etc) apart from using the key. chmod 600 ~/.ssh/* ; chmod 700 ~/.ssh
|
|
| Dec 12, 2017 at 18:24 | history | answered | xenoid | CC BY-SA 3.0 |