[wellylug] ssh connection to send email?
E.Chalaron
e.chalaron at xtra.co.nz
Fri Nov 26 13:56:27 NZDT 2004
Mark
I found logwatch.. a perl script that emails or save to file reports on
/var/log/auth.log, seems cool...
E.
> Hi
>
> I want to monitor ssh connections to a box I look after for a short
> period of time.
>
> Can anyone think of an easy way I could generate an email message with
> user info whenever the user connects via ssh (they are only
> port-forwarding and have no shell otherwise I presume I could trigger an
> email from bash_profile or bashrc or somesuch).
>
> cheers
>
> Mark Signal
More information about the wellylug
mailing list