Re: finding which public key was used to login to ssh

2009-01-21 Thread Amos Shapira
2009/1/21 Ghiora Drori : > Hi, > Actually (trying not to be lazy) I am using VERBOSE and works very well > showing the RSA keys. > > DEBUG is not recommended: > From the man page: > > Logging with a DEBUG level >violates the privacy of users and is not recommended. Thanks very much fo

Re: finding which public key was used to login to ssh

2009-01-20 Thread Ghiora Drori
--000e0cd6ac10f417450460f6e8cb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, Actually (trying not to be lazy) I am using VERBOSE and works very well showing the RSA keys. DEBUG is not recommended: >From the man page: Logging with a DEBUG level vi

Re: finding which public key was used to login to ssh

2009-01-20 Thread Ghiora Drori
--000e0cd309b43df0560460f6c6a9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, Try : LogLevel VERBOSE On Tue, Jan 20, 2009 at 4:57 PM, Amos Shapira wrote: > 2009/1/20 Ehud Karni : > > Did you have a line like: > > Jan 19 14:45:50 mvs-s1 sshd[6153]: Found match

Re: finding which public key was used to login to ssh

2009-01-20 Thread Amos Shapira
2009/1/20 Ehud Karni : > Did you have a line like: > Jan 19 14:45:50 mvs-s1 sshd[6153]: Found matching DSA key: > a6:af:c4:f6:1e:6d:12:f9:e7:35:cf:e6:c7:58:5c:52 > just preceding the "Accepted publickey" ? Nope. > > This is fingerprint of the corresponding key. > You can check the fingerprint of

Re: finding which public key was used to login to ssh

2009-01-20 Thread Ehud Karni
On Mon, 19 Jan 2009 12:06:59 +1100, Amos Shapira wrote: > > Is there a way to get the identity of the private/public key pair > which was used to login to ssh? > > The log on the server (/var/log/secure) says things like: > > Jan 19 12:05:14 xen02 sshd[3960]: Accepted publickey for root from > 192.

finding which public key was used to login to ssh

2009-01-18 Thread Amos Shapira
Hello, Is there a way to get the identity of the private/public key pair which was used to login to ssh? The log on the server (/var/log/secure) says things like: Jan 19 12:05:14 xen02 sshd[3960]: Accepted publickey for root from 192.168.0.81 port 43442 ssh2 Is there a way to make it include ID