Tuesday, June 15, 2010

"Permissions 0664" error when using a ssh private key file

I tried to migrate my ssh private key (which was generated using cygwin on a windows box) to my Fedora 13 box, but I got a "Permissions 0664" error. Here's how I was able to resolve it:

1. Open a terminal.
2. Navigate to the .ssh folder. Mostly located under your home directory.
3. Make sure that your private key file is located under the .ssh directory.
4. Type in the following command
chmod 0400 id_dsa
NOTE: Where id_dsa is the filename of your private key file.

That's it! You're all done!

No comments:

Post a Comment