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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |