Don Marti
Sun 17 Apr 2005 08:33:52 PM PDT
Tunneling SMTP
Good instructions for tunneling Postfix's outgoing mail with OpenSSH.
I don't use my regular SSH id for tunnels like this. If possible, I make a user "tunnel" on the server. To make a passphrase-less id work for tunnel only, put this in the authorized_keys file entry for the key.
command="/bin/false",no-X11-forwarding.no-agent-forwarding,no-pty