Re: identifying [DR]SA key used for ssh key-based login
On Mon, Mar 10, 2003 at 01:40:26PM +0100, martin f krafft wrote:
> is there a reliable way to get e.g. the fingerprint of the SSH2 key
> used to log in to a machine? let's say that I have two entries in
> ~/.ssh/authorized_keys. Once I logged in by way of either one, how can
> I identify which of the two entries/keys was responsible for the
> successful authentication?
Set 'LogLevel VERBOSE' in /etc/ssh/sshd_config and the key fingerprint
will be syslogged. (This currently doesn't work for RSA1 keys due to a
bug in privilege separation.)
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: