martedì 7 dicembre 2010

Apple Mail ssh tunneling

http://www.ok-labs.com/blog/entry/ssh-tunneling-smtp-on-mac-os-x/

Library/LaunchDaemon/mailtunnel.plist


create key:

ssh -i tunnel_key -q -T mail.example-com

in authorized_keys2 :

command="nc smtp.to.infn.it 25",no-X11-forwarding,no-agent-forwarding,no-port-forwarding

testing:

SSH_AUTH_SOCK= ssh -i .ssh/tunnel_key mail.example.com

Nessun commento: