openssh-unix-dev October 2011 archive
Main Archive Page > Month Archives  > openssh-unix-dev archives
openssh-unix-dev: Re: Detect PID of sshd processes used by one p

Re: Detect PID of sshd processes used by one public key; detect -R allocated port on the server

From: Alex Bligh <alex_at_nospam>
Date: Sat Oct 08 2011 - 13:24:50 GMT
To: Phil Pennock <phil.pennock@globnix.org>

--On 8 October 2011 06:56:03 -0400 Phil Pennock <phil.pennock@globnix.org>
wrote:

> On 2011-10-08 at 10:01 +0100, Alex Bligh wrote:
>> I can't help but think that log line would be more useful if it said
>> which public key was accepted (am willing to provide a patch, but would
>> prefer to avoid a code change).
>
> LogLevel VERBOSE

LogLevel VERBOSE only tells you what line number is matched. That is
not much use if authorized_keys changes over time (it does for me)
and ssh sessions could be up for days. I think it will also log
key fingerprints, but I don't know how one can obviously associate
them with a particular matched line (especially if your authorized_key
file contains the same key on multiple lines with different from=
match blocks).

-- Alex Bligh _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev