Question regarding SSH connection resets when auth via pam radius

Josh Blender jsblists at gmail.com
Tue Jun 7 20:00:57 CEST 2005


Hi, any help with this issue would be greatly appreciated:

I have pam_radius_auth configured on redhat enterprise (just for
"sshd" and "login"), and the authentication is working properly. 
Unfortunately, when I log in via SSH, after some time (fairly brief),
the connection simply terminates.  I get no errors, and I have perused
the pertinent logs, and I see absolutely NO indication that there is a
problem.  I did a sniffer trace, and it is the server side of the SSH
connection that actually terminates it.  The TCP connection is
terminated gracefully with a TCP FIN sent by the server.  I can't
decode the SSH data further to determine if there is an error in the
SSH protocol.

It seems that the connection reset happens after a certain amount of
data is passed, rather than an amount of time.  I find it hard to
believe that the RADIUS authentication would have any effect on
encyrption key exchanges or anything like that, but I do not have this
problem when I log in with an account that is NOT configured in RADIUS
(also I remove the line in /etc/pam.d/login)  At this point, I have no
idea where to move forward with my troubleshooting efforts.  Any
ideas?




More information about the Freeradius-Users mailing list