A simple script to open a dynamic ssh tunnel to your server and connect a fresh chrome browser to it via the socks5 proxy.
Clone the repo and maybe symlink/shortcut the version you need to somewhere convenient.
git clone https://gist.github.com/8911e3b78a8873612e17.git $HOME/opt/go.sh
ln -s $HOME/opt/go.sh/go-mac.sh $HOME/bin/go.sh
For now just edit the script itself and set your ssh server. I recommend using key-based authentication, to skip the password prompt each time.
Now you can get a fresh browser connected to your ssh server at the drop of a command
# go
- Add an env file to load the correct hostname