Last active
November 18, 2017 18:37
-
-
Save ceaksan/7fbd320eb3256bdb87bae41949f2baf3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # <bitbar.title>SSH Tunnel</bitbar.title> | |
| # <bitbar.version>v1.0</bitbar.version> | |
| # <bitbar.author>Ceyhun Enki Aksan</bitbar.author> | |
| # <bitbar.author.github>ceaksan</bitbar.author.github> | |
| # <bitbar.desc>-</bitbar.desc> | |
| # <bitbar.dependencies></bitbar.dependencies> | |
| # <bitbar.image></bitbar.image> | |
| read -p 'Server IP: ' serverIP | |
| ssh -D 8123 -f -C -q -N "root@"$serverIP | |
| echo "Connected" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment