Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Whenever I run ssh inside of cygwin on Windows 7 I get the error:

ssh: Could not resolve hostname ... Non-recoverable failure in name resolution
lost connection

If I try the same command immediately after the error, it works without issue. If I wait too long to try again, I get the error again.

This doesn't happen for me on XP. Any ideas why ssh always fails the first time?

share|improve this question
    
Have you tried using dig from in cygwin to see if it works when curl fails? Have you tried Wireshark or tcpdump to make sure the packets are going out correctly? –  Nathan V Nov 27 '12 at 12:13

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.