[wellylug] ssh connection to send email?

Tim Carey-Smith wellylug at halorgium.net
Fri Nov 26 11:16:02 NZDT 2004


Simon . wrote:

> sshd has a command option in the authorized key file, which could 
> quite easily point to a mail script.
> Have a look in man sshd, under the AUTHORIZED_KEYS FILE FORMAT section.

This will only work if the users are logging in by using public-key 
authentication!
Of course, you could restrict them to this type of auth easily enough :D

Tim




More information about the wellylug mailing list