[wellylug] ssh connection to send email?

Mark Signal mark at databackup.co.nz
Fri Nov 26 09:40:21 NZDT 2004


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