Re: Every ssh login gives authentication failure log though connection work
From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 01/09/04
- Next message: Richard E. Silverman: "Re: Every ssh login gives authentication failure log though connection work"
- Previous message: Arthur Hagen: "Re: ANN: pssh: SSH 2 for Palm OS"
- In reply to: Darren Tucker: "Re: Every ssh login gives authentication failure log though connection work"
- Next in thread: Richard E. Silverman: "Re: Every ssh login gives authentication failure log though connection work"
- Reply: Richard E. Silverman: "Re: Every ssh login gives authentication failure log though connection work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 9 Jan 2004 04:49:40 +0000 (UTC)
dtucker@dodgy.net.au (Darren Tucker) writes:
]In article <btkptm$up8$1@string.physics.ubc.ca>,
]Bill Unruh <unruh@string.physics.ubc.ca> wrote:
]>Ever time I log onto my machine from another using ssh, whether by
]>automatic login (rsa login) or via password gives me a
]>Dec 31 04:06:01 string sshd(pam_unix)[2246]: authentication failure;
]>logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=wormhole user=able
]>
]>message in the log file, although the login succeeds (as it should)
]>
]>Any idea why these log messages would be appearing?
]http://www.openssh.com/faq.html#3.1
I have PermitEmptyPasswords no in my file already. So that is not it.
But it
does seems to be something to do with pam_unix authentication (in
pam.d/system_auth) (the line
auth sufficient /lib/security/pam_unix.so likeauth nullok
removes the error message. Of course it also removes my ability to log
into any account on the machine as well, so it was just as well I
already had a root login active.
But these messages are occuring when I log in whether using a password
or using RSA authentication.
It seems that sshd calls on pam to authenticate befor anything has
occured (ie not RDA/DSA tokens have been passed and no password has been
requested), maybe to see if there is user with a null password (ie it
requests pam authentication with no password and see if it fails or
succeeds.) This seems the only possibility consistant with the facts.
It is not clear why it does so if the PermitEmptyPasswords is no.
It is certainly a pain as my log files get innundated with these
messages, as I use an ssh with RSA authentication to perform periodic
tasks.
- Next message: Richard E. Silverman: "Re: Every ssh login gives authentication failure log though connection work"
- Previous message: Arthur Hagen: "Re: ANN: pssh: SSH 2 for Palm OS"
- In reply to: Darren Tucker: "Re: Every ssh login gives authentication failure log though connection work"
- Next in thread: Richard E. Silverman: "Re: Every ssh login gives authentication failure log though connection work"
- Reply: Richard E. Silverman: "Re: Every ssh login gives authentication failure log though connection work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|