Simple ssh login email notification

echo -n 'ALERT - Shell Login (a-server) on:' `date` `who` | mail -s "Alert: Shell Login from `who | cut -d"(" -f2 | cut -d")" -f1`" admin@google.com