Timeline for Windows SSH: Permissions for 'private-key' are too open
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 2, 2020 at 12:12 | comment | added | JW0914 |
sudo should not be used for an SSH session (please use a search engine to understand why - it's a security risk) and you're receiving the error because the permissions [0555 ] are incorrect. On BSD/Linux, the UGO privs must be 600 or 400 . If you're trying to copy your key from Windows to WSL, this is not possible due to how the ACLs are set and maintained between Windows and WSL; instead, copy/paste the key's contents into a new file on WSL.
|
|
Nov 26, 2019 at 8:13 | comment | added | Alex Ramses | I run the Window bash terminal as myself, but I did 'Run as adminstrator' when I launch the Bash. | |
Nov 26, 2019 at 6:56 | comment | added | G-Man Says 'Reinstate Monica' | But do you login to the server as yourself or as root? | |
Nov 26, 2019 at 6:30 | review | Late answers | |||
Nov 26, 2019 at 6:56 | |||||
Nov 26, 2019 at 6:15 | review | First posts | |||
Nov 26, 2019 at 6:25 | |||||
Nov 26, 2019 at 6:10 | history | answered | Alex Ramses | CC BY-SA 4.0 |