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

Re: Upgrade from woody to sarge - ssh strangeness - REVISIT



Quoting Turbo Fredriksson <turbo@debian.org>:

> I think the problem is that
> sshd require 'keyboard-interactive' which the old client can't handle.
> The new one works like a charm though. Unfortunatly it's so much
> ugglier :). That's why I never upgraded that earlier. Now I don't
> have a choice...

Now my dad and the rest of the family starting to whine about this
to so I had to revisit the problem... There's to many people that seems
to be dependent on this and I don't want to force them to upgrade...

I managed to enable 'password' authentication using:

PasswordAuthentication yes
UsePAM yes

but neither of these work...

On the server:
----- s n i p -----
==> /var/log/auth.log <==
Jan 22 19:08:32 pumba sshd[22130]: error: Could not get shadow information for malin
Jan 22 19:08:32 pumba sshd[22130]: Failed password for turbo from <IP> port 27494 ssh2
----- s n i p -----

On the client:
----- s n i p -----
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred password
debug3: authmethod_lookup password
debug3: remaining preferred: 
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
turbo@pumba.bayour.com's password: 
debug3: packet_send2: adding 64 (len 53 padlen 11 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
turbo@pumba.bayour.com's password: [Ctrl-C]
----- s n i p -----

And running with 'LogLevel DEBUG3' doesn't help much...

----- s n i p -----
==> /var/log/auth.log <==
Jan 22 19:11:29 pumba sshd[22158]: debug3: monitor_read: checking request 0
Jan 22 19:11:29 pumba sshd[22158]: debug3: mm_answer_moduli: got parameters: 1024 1024 8192
Jan 22 19:11:29 pumba sshd[22158]: debug3: mm_request_send entering: type 1
Jan 22 19:11:29 pumba sshd[22158]: debug2: monitor_read: 0 used once, disabling now
Jan 22 19:11:29 pumba sshd[22158]: debug3: mm_request_receive entering
Jan 22 19:11:29 pumba sshd[22158]: debug3: monitor_read: checking request 4
Jan 22 19:11:29 pumba sshd[22158]: debug3: mm_answer_sign
Jan 22 19:11:29 pumba sshd[22158]: debug3: mm_answer_sign: signature 0x8099088(143)
Jan 22 19:11:29 pumba sshd[22158]: debug3: mm_request_send entering: type 5
Jan 22 19:11:29 pumba sshd[22158]: debug2: monitor_read: 4 used once, disabling now
Jan 22 19:11:29 pumba sshd[22158]: debug3: mm_request_receive entering
Jan 22 19:11:29 pumba sshd[22158]: debug3: monitor_read: checking request 6
Jan 22 19:11:29 pumba sshd[22158]: debug3: mm_answer_pwnamallow
Jan 22 19:11:30 pumba sshd[22158]: debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
Jan 22 19:11:30 pumba sshd[22158]: debug3: mm_request_send entering: type 7
Jan 22 19:11:30 pumba sshd[22158]: debug2: monitor_read: 6 used once, disabling now
Jan 22 19:11:30 pumba sshd[22158]: debug3: mm_request_receive entering
Jan 22 19:11:30 pumba sshd[22158]: debug3: monitor_read: checking request 45
Jan 22 19:11:30 pumba sshd[22158]: debug1: PAM: initializing for "turbo"
Jan 22 19:11:30 pumba sshd[22158]: debug3: Trying to reverse map address <IP>.
Jan 22 19:11:30 pumba sshd[22158]: debug1: PAM: setting PAM_RHOST to "<IP>"
Jan 22 19:11:30 pumba sshd[22158]: debug1: PAM: setting PAM_TTY to "ssh"
Jan 22 19:11:30 pumba sshd[22158]: debug2: monitor_read: 45 used once, disabling now
Jan 22 19:11:30 pumba sshd[22158]: debug3: mm_request_receive entering
Jan 22 19:11:30 pumba sshd[22158]: debug3: monitor_read: checking request 3
Jan 22 19:11:30 pumba sshd[22158]: debug3: mm_answer_authserv: service=ssh-connection, style=
Jan 22 19:11:30 pumba sshd[22158]: debug2: monitor_read: 3 used once, disabling now
Jan 22 19:11:30 pumba sshd[22158]: debug3: mm_request_receive entering
Jan 22 19:11:30 pumba sshd[22158]: debug3: monitor_read: checking request 10
Jan 22 19:11:30 pumba sshd[22158]: debug3: mm_answer_authpassword: sending result 0
Jan 22 19:11:30 pumba sshd[22158]: debug3: mm_request_send entering: type 11
Jan 22 19:11:30 pumba sshd[22158]: Failed none for turbo from <IP> port 29169 ssh2
Jan 22 19:11:30 pumba sshd[22158]: debug3: mm_request_receive entering
Jan 22 19:11:33 pumba sshd[22158]: debug3: monitor_read: checking request 10
Jan 22 19:11:33 pumba sshd[22158]: debug3: auth_shadow_pwexpired: today 13535 sp_lstchg -1 sp_max -1
Jan 22 19:11:33 pumba sshd[22158]: debug3: password expiration disabled
Jan 22 19:11:33 pumba sshd[22158]: debug3: mm_answer_authpassword: sending result 0
Jan 22 19:11:33 pumba sshd[22158]: debug3: mm_request_send entering: type 11
Jan 22 19:11:33 pumba sshd[22158]: Failed password for turbo from <IP> port 29169 ssh2
Jan 22 19:11:33 pumba sshd[22158]: debug3: mm_request_receive entering
----- s n i p -----



Reply to: