Skip to content

Instantly share code, notes, and snippets.

@marklindhout
Created September 25, 2012 09:29
Show Gist options
  • Save marklindhout/3780864 to your computer and use it in GitHub Desktop.
Save marklindhout/3780864 to your computer and use it in GitHub Desktop.
Shell snippet for tunneling IMAP on ports 2143 and 2025 using SSH
ssh user@host.domain.tld -L 2143:localhost:143 -L 2025:localhost:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment