Issue with SSH

Matty Sarro msarro at gmail.com
Fri Feb 4 20:57:43 UTC 2011


#%PAM-1.0
auth       include      system-auth
account    required     pam_nologin.so
account    include      system-auth
password   include      system-auth
session    optional     pam_keyinit.so force revoke
session    include      system-auth
session    required     pam_loginuid.so


I actually just disabled PAM in /etc/ssh/sshd_config and it appears to
be working now. Is not using PAM a security issue?




On Fri, Feb 4, 2011 at 3:43 PM, Madan Thapa <madan.feedback at gmail.com> wrote:
> what does the file  /etc/pam.d/sshd  look like?
>
>
>
> On Sat, Feb 5, 2011 at 1:57 AM, Matty Sarro <msarro at gmail.com> wrote:
>
>> We have two servers that synchronize between one another using SSH.
>> The user that the software uses for some reason isn't working. When
>> you ssh into the server using the user, you are prompted for a
>> password. When you enter the password, you get an authentication
>> failure. We have verified the password, and recreated it numerous
>> times. SSH still doesn't appear to be working. Anyone have any clues?
>>
>> Here is whats in /var/log/secure:
>>
>> Feb  4 15:25:10 basmanps01 sshd[30754]: pam_tally(sshd:auth): user
>> USERNAME (501) tally 14412, deny 5
>> Feb  4 15:25:10 basmanps01 sshd[30686]: Postponed keyboard-interactive
>> for USERNAME from 10.253.140.74 port 36951 ssh2
>> Feb  4 15:25:10 basmanps01 sshd[30754]: pam_unix(sshd:auth):
>> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
>> rhost=baschips01  user=USERNAME
>> Feb  4 15:25:11 basmanps01 sshd[30685]: error: PAM: Authentication
>> failure for USERNAME from baschips01
>> Feb  4 15:25:11 basmanps01 sshd[30755]: pam_tally(sshd:auth): user
>> USERNAME (501) tally 14413, deny 5
>> Feb  4 15:25:11 basmanps01 sshd[30686]: Postponed keyboard-interactive
>> for USERNAME from 10.253.140.74 port 36951 ssh2
>> Feb  4 15:25:11 basmanps01 sshd[30755]: pam_unix(sshd:auth):
>> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
>> rhost=baschips01  user=USERNAME
>> Feb  4 15:25:14 basmanps01 sshd[30685]: error: PAM: Authentication
>> failure for USERNAME from baschips01
>> Feb  4 15:25:14 basmanps01 sshd[30685]: Failed none for USERNAME from
>> 10.253.140.74 port 36951 ssh2
>> Feb  4 15:25:14 basmanps01 sshd[30685]: Failed password for USERNAME
>> from 10.253.140.74 port 36951 ssh2
>> Feb  4 15:25:14 basmanps01 sshd[30686]: Disconnecting: Too many
>> authentication failures for USERNAME
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list