Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Users

logging the public key

 

 

OpenSSH users RSS feed   Index | Next | Previous | View Threaded


arif at mail

Feb 4, 2011, 11:40 AM

Post #1 of 2 (1233 views)
Permalink
logging the public key

We are running OpenSSH versions 4.3 and 5.5 on a mixture of CentOS 5,
Debian and Fedora 14 systems.

Can OpenSSH log which public key, as listed in the authorized keys
file, was used to log in? If so, how? This would be useful for
auditing purposes.

I don't see a config option, so I'm currently using a custom command via
COMMAND="....." ssh-dss AAAAB3Nza..... key1
COMMAND="....." ssh-dss AAAABFFFF..... key2
to log the key. It would be nice if there was a better way.
Suggestions?

Anthony.


maria at iano

Feb 7, 2011, 9:40 AM

Post #2 of 2 (1158 views)
Permalink
Re: logging the public key [In reply to]

I turn on debugging in sshd_config and that way the key fingerprints
are recorded when people log in. I move the logging out of messages
though because then you get so much. I wish they'd add an option just
to record the keys without all the other debugging info.

Maria

On Feb 4, 2011, at 2:40 PM, Anthony R Fletcher wrote:

> We are running OpenSSH versions 4.3 and 5.5 on a mixture of CentOS 5,
> Debian and Fedora 14 systems.
>
> Can OpenSSH log which public key, as listed in the authorized keys
> file, was used to log in? If so, how? This would be useful for
> auditing purposes.
>
> I don't see a config option, so I'm currently using a custom command
> via
> COMMAND="....." ssh-dss AAAAB3Nza..... key1
> COMMAND="....." ssh-dss AAAABFFFF..... key2
> to log the key. It would be nice if there was a better way.
> Suggestions?
>
> Anthony.
>

OpenSSH users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.