OpenSSH 6.2 released
Posted Mar 22, 2013 18:04 UTC (Fri) by
dkg (subscriber, #55359)
In reply to:
OpenSSH 6.2 released by gebi
Parent article:
OpenSSH 6.2 released
gebi wrote:
> It would be awesome if ssh could print the ssh "key-id" of the key which authenticated for the current session.
It does, at debug level2. So "ssh -vv remotehost" should give you some spew like:
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: id_rsa
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug2: input_userauth_pk_ok: fp :89:dd:09:d8:1a:25:8e:0e::71:f4:0c:a4:1e:fe:e0:1c
debug1: Authentication succeeded (publickey).
(
Log in to post comments)