[Bug 1207] unsuccessful_login_count gets incremented by scp

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jul 6 10:38:06 EST 2006


http://bugzilla.mindrot.org/show_bug.cgi?id=1207


dtucker at zip.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |1155
              nThis|                            |
             Status|NEW                         |ASSIGNED
          Component|scp                         |sshd




------- Comment #3 from dtucker at zip.com.au  2006-07-06 10:38 -------
The problem is not with scp but with sshd (since scp invokes ssh which
in turn talks to sshd.

The difference is that loginsuccess is only called as part of the login
recording, which only happens for "interactive" logins (ie ones where
you get a pty).  You should see the same thing if, instead of scp, you
ran something like "ssh yourserver true" and checked the failed login
count afterward.

Not sure what to do about it, though.  We can call loginsuccess
immediately after successful authentication but that will mean calling
it a second time when the pty is allocated.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-bugs mailing list