logging online-time via authorized_keys

From: Christian Schmidt (forename_dot_surname_at_aifb.uni-karlsruhe.de)
Date: 05/27/03


Date: Tue, 27 May 2003 11:24:53 +0200

How can I log the time a user with a specific key was connected?
With the command-entry in authorized keys I could print the login time to a
file, but what about the logout time?
How can I access the IP, from which the user connected?

Remark: The users only enable tunnels, no shell.

Thanks for any ideas.

Christian

-- 
-----------------------------------------------------------------
Christian Schmidt
Institut AIFB - Universität Karlsruhe (TH)
D 76128 Karlsruhe
-----------------------------------------------------------------