Difference between revisions of "Permissions are to open"
Jump to navigation
Jump to search
(Created page with " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 12: | Line 12: | ||
and the repository exists. | and the repository exists. | ||
− | Solution: <code>[[chmod 600]] | + | Solution: <code>[[chmod 600]] [[$HOME/.ssh/]]id_ed25519</code> |
== See also == | == See also == | ||
+ | * {{chmod}} | ||
* {{OpenSSH}} | * {{OpenSSH}} | ||
[[Category:OpenSSH]] | [[Category:OpenSSH]] |
Latest revision as of 15:44, 23 December 2022
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for '/root/.ssh/id_ed25519' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "/root/.ssh/id_ed25519": bad permissions [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Solution: chmod 600 $HOME/.ssh/id_ed25519
See also[edit]
chmod: 400, 0600, 0644
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF
Advertising: