Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to solve cygwin unprotected key problem?

I can't connect to server instance using SSH key from Cygwin. I found, that I can't change ssh key file permission.

 

Code Block
WARNING: UNPROTECTED PRIVATE KEY FILE!

...


To resolve this copy your SSH key to /tmp/mysshkey:

...


mkdir /tmp/fermin
cp ~/.ssh/id_rsa /tmp/fermin
chmod 600 /tmp/fermin/id_rsa
ssh -l fermin -i /tmp/fermin/id_rsa localhost