Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
4  
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
add comment

migrated from stackoverflow.com May 28 '13 at 16:09

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

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.