Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 12, 2012, 9:10 pm
rate this thread
For auditing/logging I'd like to know which key was used.
The only idea, that I have so far is adding a custom command for each
key in ~/.ssh/authorized_keys
However I wondered if there were any other approach than adding
'command=' to every entry.
Thanks in advance for any suggestion
Re: Is there ony way to find out which key wasused to connec to an ssh server
At least with openssh, you can raise the debug level and the key
fingerprint will show up in the server log.
Of course, if you're concerned about multiple users logging in as root, a
better thing to do would be that they logged in as their user, and then used
su to get root, which is a more auditable sequence of actions.
- » putty session terminating after 60mins on windows.
- — Next thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum