Return to Snippet

Revision: 22889
at January 25, 2010 13:38 by r0b0tnic


Initial Code
echo "`whoami` has logged in on `date` from "$SSH_CONNECTION | /usr/bin/mail -s "Server Login" [email protected]

Initial URL


Initial Description
Put this in /etc/profile

Initial Title
Send email out on SSH login

Initial Tags


Initial Language
Bash