Skip to content

Instantly share code, notes, and snippets.

@Raffaello
Created January 25, 2017 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raffaello/95ff0cc1cc6825f742709965e90676f9 to your computer and use it in GitHub Desktop.
Save Raffaello/95ff0cc1cc6825f742709965e90676f9 to your computer and use it in GitHub Desktop.
SSH tunnelling
#!/bin/bash
ssh -fNL $target_port:$target_host:$source_port $source_host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment