I need to be able to have an e-mail sent anytime an ssh connection is made and, preferably, when the session closes. I have tried using /etc/profile to do this, but it doesn't seem to work. I need it to be global, but I see nothing in the ssh documentation that allows me to execute a program on connection. Any ideas? Rod -- Meddle not in the Affairs of Dragons for thou art crunchy, and good with catsup.