Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are trying to patch an issue we are having with some file systems by making SSH work without the permission validation on the SSH private key.

Error message: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

For some odd reasons, we are not able to change the access rights to some files (Welcome to the Cygwin world of Windows)

Anyone know if there is a way to bypass the ssh validation through whatever way? I did not find anything relevant in the ssh options.

If you are to reply chmod 400 or 600 it is not what I am looking for!

share|improve this question

migrated from May 28 '13 at 16:09

This question came from our site for professional and enthusiast programmers.

If chmod 600 [file] doesn't work under Cygwin, then your Cygwin install is broken. What happens when you try it? What version of Cygwin are you running? – Aaron Miller May 28 '13 at 16:23

I'm not sure if you understand what this message means or what you are asking for.

Basically, SSH is telling you that your private key, which in this case as it's not owned by you, is public. That means in plan English: "Your password is in plain text. Everyone who has access to this box has access to it."

You want SSH to ignore this but SSH was design to be safe and secure. As you were told: if you can't change permissions on this file you have not installed cygwin correctly.

Could you please explain why you want to override this warning?

You can always install telnet-server

share|improve this answer
I am trying to slowly move out users from static passwords to ssh keys . I prefer them to have them have an insecure ssh key on their desktop than sharing passwords by email (as it is currently done) – Thierry May 28 '13 at 20:38
Again, try fixing real problem. (chmod 600). When your car is telling you that it's low on petrol do you mask it with the tape? Please post output of the chmod 600 on your folder/key file. Remember that ssh files are stored in .ssh! – Chris May 28 '13 at 21:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .