Using SSH keys in Linux/en: Difference between revisions

Jump to navigation Jump to search
Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 61: Line 61:
<li>The private key file must not be accessible to others. <code> chmod go-rwx id_rsa </code>
<li>The private key file must not be accessible to others. <code> chmod go-rwx id_rsa </code>
<li>Your remote home directory must not be writable by others <code> chmod go-w ~ </code>
<li>Your remote home directory must not be writable by others <code> chmod go-w ~ </code>
<li>Same for your remote ~/.ssh and ~/.ssh/authorized_keys <code> chmod --recursive go-rwxw ~/.ssh </code>
<li>Same for your remote ~/.ssh and ~/.ssh/authorized_keys <code> chmod --recursive go-rwx ~/.ssh </code>
</ul>
</ul>
Note that debugging the remote conditions may bot be obvious without the help of the remote machine's system administrators.
Note that debugging the remote conditions may bot be obvious without the help of the remote machine's system administrators.
38,760

edits

Navigation menu