Sshproxy.sh

From digital-bit.ch's wiki
Jump to: navigation, search

sshproxy.sh

#! /bin/bash
# opening a SSH Socks5 Proxy 
# about:config for firefox:
# network.http.sendRefererHeader = 0
# network.proxy.socks_remote_dns = true
# set Network -> Settings -> SOCKS Host to: $LOCALHOST $LOCALPORT
# Example: ssh -C2qtNf -D 1337 ghcif.de
# opens local 1337 for browser and co to ssh on ghcif.de
HOST=enter_host_here
LOCALPORT=enter_port_here
echo -e "Starting secure browsing"
ssh -C2qtNf -D $LOCALPORT $REMOTEHOST

powered by

    ip-exchange.de

Personal tools