[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh login tracking



On 7/14/05, R. W. Rodolico <stargazer@rodolico.org> wrote:
> I need to be able to have an e-mail sent anytime an ssh connection
> is made and, preferably, when the session closes. I have tried using
> /etc/profile to do this, but it doesn't seem to work. I need it to
> be global, but I see nothing in the ssh documentation that allows me
> to execute a program on connection.

I'd suggest using the log files - for a quick and simple method, you
could install logcheck and customise its rules.



Reply to: