Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
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

2 Answers 2

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

share|improve this answer

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

http://mah.everybody.org/docs/ssh

http://mah.everybody.org/docs/ssh#gen-keys

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

OR

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

ChallengeResponseAuthentication no

and

restart sshd service.

share|improve this answer

Your Answer

 
discard

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.