Hello!

We have some users logging in as root over ssh ( 2.3.0 )
for different maintenance tasks on our servers. We would be
happy to know who is logging in. One solution would be to
let people have a user account on each server and let them
su to do there tasks. Another solution which we would rather
like to see is to have a public key for each user and
require that for authentication. The problem is that, as far
as I understand, there is no configuration option or other
feature to get this logged.

I have read the code, and it would be possible to program
this, and I am prepared to do it, but I would like to ask
you all first if there is a better solution, or if someone
already did this. If I do it - shall I post the patch?

What I like to see in the logs:

<time> User root, coming from <some host>, authenticated.
<time> Public key authentication for user root accepted. Key: <user>_<host>.pub

I might chose to name the keys as above.

Regards:                Håkan

-- 
Håkan Källberg    - on contract to Commerzbank AG
K-Backup Enhancement Projekt
Tel:    +49-69-136-42423



Reply via email to