Transferring the file, prompting that the secret key file is too open, prints the following error.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0755 for ‘/data/user/lxb/.ssh/id_rsa’ are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key “/data/user/lxb/.ssh/id_rsa”: bad permissions
[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(235) [Receiver=3.1.2]
The above printout is prompting you that the permissions granted to the private key file are too large.
Solution: $sudo chmod -R 700 /data/user/lxb/.ssh/
End.
Similar Posts:
- Hadoop Error: rsync error: remote command not found (code 127) at io.c(226) [sender=3.1.2]
- [Solved] Rsync Error: gid 4294967295 (-1) is impossible to set on…
- Rsync Real-time Error: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]
- rsync error: some files/attrs were not transferred (see previous errors) (code 23)
- Rsync Error: failed to set times on “xxxx”: Operation not permitted
- Git Error: RPC failed, curl 18 transfer closed with outstanding read data remaining
- Android Error: open failed: EACCES (Permission denied)
- Android Exception: UncaughtException detected: java.lang.RuntimeException: Parcelable encountered IOExcepti
- If permissions 0644 for ‘/ root /. SSH / ID appears_ It is OK to reduce the permission to 0600
- Error reporting using Htmlparser under Python 3.5.1