Skip to content

Instantly share code, notes, and snippets.

@gbpereira
Created June 19, 2017 01:30
Show Gist options
  • Save gbpereira/f4fec205fececae37326ec1a8e415eee to your computer and use it in GitHub Desktop.
Save gbpereira/f4fec205fececae37326ec1a8e415eee to your computer and use it in GitHub Desktop.
#!/bin/bash
LOCAL_PORT=8080
REMOTE_SERVER=destination.server
REMOTE_USER=user
ssh -D $LOCAL_PORT -f -C -q -N $REMOTE_USER@$REMOTE_SERVER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment