Re: One account with multiple keys -- which one was used?
- From: Alexander Klimov <alserkli@xxxxxxxx>
- Date: Mon, 18 Sep 2006 17:20:26 +0300 (IDT)
On Mon, 11 Sep 2006, Wayne Betts wrote:
If I have an account (eg. operator) with multiple public keys in the
~operator/.ssh/authorized_keys{,2} file, can I determine which key was
used by a given login,
Find in your log file something like
... sshd ... auth.info ... Found matching RSA key: ec:1b:2e:...
(you need ``LogLevel VERBOSE'' for this).
You can get the fingerprint of a public key with
ssh-keygen -lf public-key-file
By comparing fingerprint with log you can find which key was used.
--
Regards,
ASK
- References:
- One account with multiple keys -- which one was used?
- From: Wayne Betts
- One account with multiple keys -- which one was used?
- Prev by Date: Re: keys longer than 1024 bits
- Next by Date: SSH and SFTP
- Previous by thread: Re: One account with multiple keys -- which one was used?
- Next by thread: openssh-4.3p2: setsockopt() problem
- Index(es):
Relevant Pages
|
|