On Feb 12 12:31, Andrew Ng wrote: > I've also been experiencing connection problems with OpenSSH > versions newer than 5.6p1-2. These problems occur with both Cygwin > sshd (versions 5.6 to 5.8) and other UNIX sshd (e.g. Solaris). > > I've attached client and server debug logs of both Cygwin ssh 5.6 > and 5.8 connecting to a Cygwin sshd 5.8, and a cygcheck dump. > > If you need any more information or would like me to try new > binaries then please let me know.
As usual the logs only show what happens, but they don't show why. I installed OpenSSH-5.8p1 on Windows 7 64 bit. I tried to connect from 32 and 64 bit Cygwin machines using ssh 5.8p1 and I tried it from a Linux machine with ssh 5.5p1. No problems at all. I removed the ECDSA host key to get the same "Can't load host key" message... still no problems at all. What about deleting and reinstalling sshd as a service? Maybe that helps. $ cygrunsrv -E sshd $ cygrunsrv -R sshd $ cd /etc $ mkdir OLD-KEYS $ mv ssh_host* OLD-KEYS $ rmdir /var/empty $ rm -f /var/log/sshd.log $ ssh-host-config $ mv OLD-KEYS/* . $ chown cyg_server ssh_host* $ cygrunsrv -S sshd Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple