logging the public key

Anthony R Fletcher arif at mail.nih.gov
Sat Feb 5 03:44:05 EST 2011


Can openssh log which public key, as listed in the authorized keys file,
was used to log in? If so, how?

I don't see a config option, so I'm currently using a custom command via
	COMMAND="....." ssh-dss AAAAB3Nza..... key1
	COMMAND="....." ssh-dss AAAABFFFF..... key2
to log the key. It would be nice if there was a better way.
Suggestions?

			Anthony.

-- 
Anthony R Fletcher        
  Room 2033, Building 12A,        http://dcb.cit.nih.gov/~arif
  National Institutes of Health,  arif at mail.nih.gov
  12A South Drive, Bethesda,      Phone: (+1) 301 402 1741.
  MD 20892-5624, USA.


More information about the openssh-unix-dev mailing list