sshd doesn't log which RSA key was used

Markus Friedl markus.friedl at informatik.uni-erlangen.de
Fri Dec 29 00:44:32 EST 2000


i am not sure about this feature.

you could add a
	{Key k; k.rsa=pk; k.type=KEY_RSA1;
	verbose("RSA auth accepted with key %s", key_fingerprint(&k);
	}
to auth_rsa().

On Thu, Dec 28, 2000 at 02:07:15PM +0100, Christian Kurz wrote:
> Hi guys,
> 
> and another feature request for sshd which I would classify as really
> useful. And I think this behaviour is currently not available (If yes,
> sorry, I must have missed it):
> 
> > I believe that the sshd should log which RSA key was used to connect to
> > an account.  When there are a number of keys in the authorized_keys file
> > it is often useful to know which one was used for each login.  I have
> > been looking at the code for this but have not been able to determine
> > where to add this.  The problem is that the authentication is done by
> > number only.  It seems that the best way to make it work the way I want
> > would be to use a "struct Key" type all through the authentication
> > process.  But I have been getting lost in the code.
> 
> Ciao
>      Christian
> -- 
>           Debian Developer and Quality Assurance Team Member
>     1024/26CC7853 31E6 A8CA 68FC 284F 7D16  63EC A9E6 67FF 26CC 7853
> 





More information about the openssh-unix-dev mailing list