[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh cannot login



On Wed, Feb 23, 2005 at 02:16:31PM -0500, Nelson Castillo wrote:
> Yes. Just closing... That's the issue.
>  
> > > debug1: userauth-request for user n service ssh-connection method
> > > keyboard-interactive
> > > debug1: attempt 1 failures 1
> > Hmm, where did all the public-key stuff go? We're already in keyboard-
> > interactive?
> 
> Well, I don't want to use stored keys. I really wanna user
> the keyboard-interactive method.
Hi Nelson!

Ok, that's fine.

>> Try to disable PAM for ssh (change UsePAM to "no" in /etc/ssh/sshd_config),
>> and see if that works... if it does, then we'll have a closer look at your
>> PAM config.
> Ok. I haven't touched the PAM config.
> [snipping server and client log]
>
> sshd_config:
> [snip]
If you want to use password authentication, then you should turn this
option on (or comment it out, default is "yes"):

> # Change to yes to enable tunnelled clear text passwords
> PasswordAuthentication no

Oh, and if you don't need it, you might turn this one off:
> PermitRootLogin yes

The rest of the file is ok - I'd leave PAM disabled (or commented out,
default here is "no").

I hope I haven't missed anything. ;-)

Jan
-- 
Jan C. Nordholz
<jckn At gmx net>

Attachment: signature.asc
Description: Digital signature


Reply to: