Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I downloaded cygwin and ran ssh-host-config. I'm trying to connect using

ssh -l micah myserver

it then says

micah@myserver's password:

I enter the same password I use to log into windows and it says

Permission Denied, please try again.

After the third try it says:

Permission denied (publickey,password,keyboard-interactive).

What am I doing wrong? Any ideas? Do I need to generate an ssh key on the client and add it somewhere on the server?

share|improve this question
BWAH!!! My stupid password was incorrect.... – Micah Feb 23 '11 at 21:07
Please post that as an answer and mark it accepted when you are able. There's even a badge for self answering. – jscott Jul 13 '13 at 1:02

This may save someone time in the future no matter how simple it seems...

The userid will be case sensitive - so if you are used to logging into windows chris even though it is actually Chris, that will not work when you try to ssh in, an easy edit in /etc/passwd will suffice, also make sure user id is case sensitive in Windows service Log on tab

share|improve this answer

check this page out, it may explain what to try to fix this issue.

seems like you do need a publickey installed for your session. I would say yes you do.


comment out the line in file /etc/ssh/sshd_config

ChallengeResponseAuthentication no


restart sshd service.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.