Skip to content

Instantly share code, notes, and snippets.

@brancz
Created April 5, 2014 18:04
Show Gist options
  • Save brancz/9995624 to your computer and use it in GitHub Desktop.
Save brancz/9995624 to your computer and use it in GitHub Desktop.
command to ssh into vagrant machine and tunnel port 1080 for mailcatcher
ssh -p 2222 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR -o IdentitiesOnly=yes -i ~/.vagrant.d/insecure_private_key [email protected] -L 1080:127.0.0.1:1080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment