sgproxy.sh 287 B

12345678910
  1. #!/bin/bash
  2. _SRV='usr.superglue.it'
  3. while read x
  4. do echo "$x"
  5. done < <(ssh -N -T -R "$_SRV":0:localhost:80 sgproxy@"$_SRV" -p443 -o ExitOnForwardFailure=yes 2>&1)
  6. #ssh -N -T -R usr.superglue.it:0:localhost:80 sgproxy@usr.superglue.it -p443 -o ExitOnForwardFailure=yes #-y -y