title: ssh from Linux to Windows cygwin
body: <p>I installed cygwin and configured openssh (ssh-host-config -y) on a Windows machine. Now from a Linux on the network I have a strange behavior: </p>
  
  <ul>
  <li>without .ssh (on the Linux), I successfully connect with password</li>
  <li>with .ssh (and my public key on the .ssh/authorized_keys of the Windows, I failed (and it doesn't ask me password):</li>
  </ul>
  
  <blockquote>
    <p>ssh -v M3D@ipinria029<br>
    OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012<br>
    debug1: Reading configuration data /home/lionel/.ssh/config<br>
    debug1: Reading configuration data /etc/ssh/ssh_config<br>
    debug1: /etc/ssh/ssh_config line 19: Applying options for *<br>
    debug1: Connecting to ipinria029 [10.0.31.29] port 22.<br>
    debug1: Connection established.<br>
    debug1: identity file /home/lionel/.ssh/id_rsa type -1<br>
    debug1: identity file /home/lionel/.ssh/id_rsa-cert type -1<br>
    debug1: identity file /home/lionel/.ssh/id_dsa type 2<br>
    debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024<br>
    debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024<br>
    debug1: identity file /home/lionel/.ssh/id_dsa-cert type -1<br>
    debug1: identity file /home/lionel/.ssh/id_ecdsa type -1<br>
    debug1: identity file /home/lionel/.ssh/id_ecdsa-cert type -1<br>
    debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7<br>
    debug1: match: OpenSSH_6.7 pat OpenSSH*<br>
    debug1: Enabling compatibility mode for protocol 2.0<br>
    debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.4<br>
    debug1: SSH2_MSG_KEXINIT sent<br>
    debug1: SSH2_MSG_KEXINIT received<br>
    debug1: kex: server->client aes128-ctr hmac-sha1 none<br>
    debug1: kex: client->server aes128-ctr hmac-sha1 none<br>
    debug1: sending SSH2_MSG_KEX_ECDH_INIT<br>
    debug1: expecting SSH2_MSG_KEX_ECDH_REPLY<br>
    debug1: Server host key: ECDSA 2a:4a:bc:24:bc:9e:c6:17:bb:f1:54:e1:03:df:7e:d4<br>
    debug1: Host 'ipinria029' is known and matches the ECDSA host key.<br>
    debug1: Found key in /home/lionel/.ssh/known_hosts:43<br>
    debug1: ssh_ecdsa_verify: signature correct<br>
    debug1: SSH2_MSG_NEWKEYS sent<br>
    debug1: expecting SSH2_MSG_NEWKEYS<br>
    debug1: SSH2_MSG_NEWKEYS received<br>
    debug1: Roaming not allowed by server<br>
    debug1: SSH2_MSG_SERVICE_REQUEST sent<br>
    debug1: SSH2_MSG_SERVICE_ACCEPT received<br>
    debug1: Authentications that can continue: publickey,password,keyboard-interactive<br>
    debug1: Next authentication method: publickey<br>
    debug1: Offering DSA public key: /home/lionel/.ssh/id_dsa<br>
    Connection closed by 10.0.31.29  </p>
  </blockquote>
  
  <p>Any suggestions?</p>