This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sshd: public key working, but can't get passwords working

At 3:31 PM -0500 7/29/07, René Berber wrote:
Daniel Griscom wrote:

 I have openssh version 4.6p1-1 installed under WinXP SP2 with all
 updates. I've successfully used ssh-host-config to set up sshd
 (privilege separation on, local user sshd created, sshd run as service,
 "CYGWIN=ntsec tty"; sshd started with "net start sshd"; all done under
 the administrative account "developer"). I then updated the password and
 group files using "mkpasswd --local > /etc/passwd" and "mkgroup --local
/etc/group". Windows Firewall has port 22 open for sshd.

Problem: I can't ssh in as developer using a password. I've successfully copied over a public key into .ssh/authorized_keys2, and I can login just fine from my expected machines, but I really need to be able to login from unexpected machines (which won't have their public keys in authorized_keys2).

Any suggestions?

Look at the log (Windows' event viewer), what's the error sent when you try to login?

Just what you'd expect: "Failed password for development from port 1121 ssh2".

(BTW, the account is named "development", not "developer" as I first stated; if I try an incorrect username, I get "invalid user" messages, so it's not a username issue.)

Thanks, Dan

P.S. Thanks for noting that log entries end up in the Windows Event Viewer; in the past I've spent many a happy hour wondering where the %$^& logfiles were stored in Windows.

Daniel T. Griscom   
Suitable Systems    
1 Centre Street, Suite 204    (781) 665-0053
Wakefield, MA  01880-2400

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]