[KLUG Members] scp
Bruce Smith
members@kalamazoolinux.org
09 Mar 2003 15:38:21 -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.
id_dsa has to be 600 on the client.
id_dsa.pub doesn't matter.
authorized_keys2 can be either 644 or 600 (mine is 644)
And here's the one that's easy to overlook:
The ~/.ssh/ directory itself should be 755 or 700. (mine is 755)
If anything has write access to group or other, then it won't work.
That includes the .ssh directory itself.
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------