How to log pubkey used in a keyring

This is a discussion on How to log pubkey used in a keyring within the OpenSSH Development forums, part of the Networking and Network Related category; Hi, I'm trying to create a log of which key is being used to access a given account. I ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-12-2006
Walter Doud
 
Posts: n/a
Default How to log pubkey used in a keyring


Hi,

I'm trying to create a log of which key is being used to access a given
account.

I can turn auth.debug on, but that generates *copious* output to the log
file which isn't terribly desirable. Furthermore, the log's format from
one ssh implementation to the next varies, causes parsing complexities.

Tried a kludge using the "command=/some/path/to/script <ID>" prefix on
each key, where the script took the ID and logged it along with some of the
other ssh variables. However that meant either exec'ing the command being
sent from the remote system, or forcing the session into a specific shell.

Is there any other way to determine what key is used?

Thanks in advance,
Walt

Walter Doud
UNIX System Administrator
Information Technology Services Americas, Global Services, IBM

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:49 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0