[KLUG Members] scp

Jon Smitley members@kalamazoolinux.org
Sun, 9 Mar 2003 15:19:10 -0500


Do I "chmod 600 ~/.ssh/id_dsa.pub" only, or do do all files within the 
~/.ssh directory.
And do change the ~/.ssh/authorized_keys2 after I copy the file over.

Thanks, Jon
Minding of Madness

If you're creating the public key for the FIRST TIME on this computer,
> be VERY careful about permissions.  Sometimes using the defaults when
> creating the ~/.ssh/authorized_keys2 OR the ~.ssh/ directory, it will
> give WRITE permissions to the GROUP.  This will cause your keys to FAIL
> every time.  This drove me nuts for the longest time, back when I tried
> first tried to get RSA/DSA authorization working.  (read permissions 
> are
> OK on the file and directory, but not required)
>