Proxy.sh 208 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 #!/bin/bash sshpass -p $1 ssh $2@$5 -p $3 -D $4 -N &>/dev/null & sleep 2 google-chrome --proxy-server="socks5://127.0.0.1:$4" $6 $7 sleep 1 trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT exit 0