[wellylug] ssh connection to send email?

Mark Signal mark at databackup.co.nz
Sat Nov 27 14:44:38 NZDT 2004


Thanks everyone for your responses
I will play with logwatch and see what I can come p with

regards

Mark Signal


E.Chalaron wrote:

>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