Re: PAM, sshd and RSA does not work together!

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

 



On Tue, Mar 23, 2004 at 10:33:55AM +0100, Roman wrote:
> I read the PAM manual page and still have not figured out what to change 
> in /etc/pam.d/sshd to get it working.
> 
> Where do I get information on what the different libraries exactly do 
> and do I need a special library to make SSH RSA work?
> Can anyone provide a sample configuration for sshd that work for 
> password and RSA login?

Public key login via OpenSSH doesn't go through PAM.  If you've got it
enabled (check your sshd_config,) then you should see some messages in
your debug output that look something like this:

debug1: userauth-request for user schmolli service ssh-connection method publickey
debug1: attempt 1 failures 1
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug1: temporarily_use_uid: 501/501 (e=0/0)
debug1: trying public key file /home/schmolli/.ssh/authorized_keys
debug1: restore_uid: 0/0
debug1: temporarily_use_uid: 501/501 (e=0/0)
debug1: trying public key file /home/schmolli/.ssh/authorized_keys2
debug1: restore_uid: 0/0
debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss Failed publickey for schmolli from 127.0.0.1 port 4434 ssh2
debug1: userauth-request for user schmolli service ssh-connection method password

If you have an OpenSSH client available, you may get something useful by
running it with -v -v -v.  It'll at least tell you what the client is
trying to do.

Cheers,
-- 
Ed Schmollinger - schmolli@xxxxxxxxxxxxxx

Attachment: pgp00139.pgp
Description: PGP signature

_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux