Created
July 6, 2011 14:23
-
-
Save mathias/1067345 to your computer and use it in GitHub Desktop.
.ssh directory setup for future reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod 700 .ssh | |
chmod 600 .ssh/authorized_keys | |
Reference: | |
This file is readable by more than just you. Newer versions of ssh see this, recongize it as a security hole, and prevent you from doing something stupid. Lesson Learned: Make sure that the files in .ssh are writable only by you, on both machines, and non-executable by anyone. | |
^ reference http://joey.ubuntu-rocks.org/blog/2008/06/08/ssh-authorized_keys-permissions-or-why-ssh-is-smarter-than-you/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment