Can't Login? pam?

From: mw (email@mware.itgo.com)
Date: 12/26/02


From: "mw" <email@mware.itgo.com>
Date: Fri, 27 Dec 2002 01:38:15 +1100

Hello, I just compiled and installed ssh3.5p1 source. I used --with-pam in
the ./configure option.

I am unable to login, always invalid password. I think I am missing
something simple here. whats the unknown module.

What do I need to do, I have tried the redhat sshd.pam into /etc/pam.d/sshd
from the contrib directory in the source as i am running redhat 6.0. and
also the generic file.

Anyone know what i am missing?

thanks

heres sshd -d output.
debug1: sshd version OpenSSH_3.5p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
socket: Invalid argument
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from 192.168.0.1 port 2587
debug1: Client protocol version 1.5; client software version PuTTY
debug1: no match: PuTTY
debug1: Local version string SSH-1.99-OpenSSH_3.5p1
debug1: permanently_set_uid: 505/505
debug1: Sent 768 bit server key and 1024 bit host key.
debug1: Encryption type: 3des
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Received session key; encryption turned on.
debug1: Installing crc compensation attack detector.
debug1: Attempting authentication for mware.
debug1: Starting up PAM with username "mware"
debug1: PAM setting rhost to "192.168.0.1"
Failed none for mware from 192.168.0.1 port 2587
debug1: PAM Password authentication for "mware" failed[28]: Module is
unknown
Failed password for mware from 192.168.0.1 port 2587
Failed password for mware from 192.168.0.1 port 2587



Relevant Pages

  • OpenSSH 3.5p1 port forwarding problem on Solaris 2.8
    ... I'm trying to use port forwarding to get a SqlNet connections back thru ... This gets a Connection refused. ... debug1: Rhosts Authentication disabled, ...
    (comp.security.ssh)
  • Re: OPENSSH 3.4p1-3 on AIX 4.3.3
    ... Teh debug output from the server is exactly the same, ... another port. ... reverse dns setup properly for that client? ... debug1: Server will not fork when running in debugging mode. ...
    (SSH)
  • SOLVED: Newbie: SSH fails to connect; gives strange error message
    ... >> You're attempting to run a debug SSHD, but there's still a copy running ... >> on another port and try to connect to that port from the client. ... > debug1: Connection established. ... > RSA key generation complete. ...
    (comp.security.ssh)
  • Re: OpenSSH and pam_radius_auth.so
    ... ::ffff:10.4.148.59 port 1195 ssh2 ... debug1: PAM: num PAM env strings 0 ...
    (comp.security.ssh)
  • ssh: acces denied (only from remote network)
    ... ListenAddress:: ... owl:/home/mitja# debug1: read PEM private key done: type RSA ... Bind to port 22 on 0.0.0.0. ... Server listening on 0.0.0.0 port 22. ...
    (comp.os.linux.networking)