This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tutorials:e-mail-advanced [2012/05/01 20:03] memnon Add $ID tag |
tutorials:e-mail-advanced [2014/03/01 18:15] (current) memnon Tunnel to `mail.sdf-eu.org' instead of just `mail' |
||
---|---|---|---|
Line 176: | Line 176: | ||
Use port 465 on SDF-EU host "odin", tunnel local port 2525 to port 25 on SDF-EU host "mail" (SMTP server); restrict ssh to IPv4, no remote commands, run in background after connecting: | Use port 465 on SDF-EU host "odin", tunnel local port 2525 to port 25 on SDF-EU host "mail" (SMTP server); restrict ssh to IPv4, no remote commands, run in background after connecting: | ||
- | % ssh -4 -fN -p 465 -L 2525:mail:25 sdf_user@odin.sdf-eu.org | + | % ssh -4 -fN -p 465 -L 2525:mail.sdf-eu.org:25 sdf_user@odin.sdf-eu.org |
Note if public key authentication isn't setup a password prompt occurs. | Note if public key authentication isn't setup a password prompt occurs. |