sshd authentication

maxim maxim look2004il at
Tue Jun 23 14:14:29 CEST 2009

I try to do  sshd authentication to external radius through a pam. on my
linux i have freeradius client
my packages: pam 1.0, pam_radius-1.3.17, openssh-4.3p2,

my /etc/pam.d/sshd look like this:

auth       sufficient   /lib/security/
auth       include      system-auth
#auth       sufficient   /lib/security/
account    required
account    include      system-auth
password   include      system-auth
session    optional force revoke
session    include      system-auth
session    required

My shared secret is configured in /etc/raddb/server file. The
radiusclient.conf configured too

sshd_config file:

#    $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $
# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
ChallengeResponseAuthentication yes
UsePAM yes
Subsystem    sftp    /home/max/openssh-4.3p2/pc86//libexec/sftp-server

when i try to connect to sshd i have log message of wrong password, i check
it too on side of radius server.

some ideas about?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list