I have two PC's both running Windows 7 (64 bit).
I installed CYGWIN (64 bit) on them today simply for the SSH functionality. (I want to use a file sync program called Unison and Unison recommends the CYGWIN ssh).
I have done ssh-host-config and ssh-keygen. I also changed the sshd_config file to include: PasswordAuthentication yes (instead of being commented out) I restarted sshd after the config change.
On both machines, I can do:
and login in no problem using the Windows password for that machine. After the login, it shows me the user and host's name at the localhost's CYGWIN prompt.
However, when I do....
ssh theotherbox -l user@theotherbox
(using the values for the and I saw in the localhost's CYGWIN prompt above), then I always get:
Permission denied, please try again.
I am running Comodo Firewall on both boxes, and the first time I attempted this, Comodo asked if it should allow the incoming connection. I said YES and remember that answer. So I don't think the firewall is part of the problem. (Unless there is something I need to allow in the firewall on the origin computer's setup?)
Since the ssh login on localhost works, I am not sure what to look at or how to resolve this next.