This is an old revision of the document!


SSH

Static Forwarding

ssh -L8021:<dist>:21 <host>

Dynamic Forwarding

Use another machine as a proxy, turning localhost into a SOCKS proxy, eg on port 8080:

ssh -D8080 <host>

Then configure your apps to use it:

  • Firefox : Preferences | Advanced | Settings | Manual Proxy Configuration | SOCKS Host : localhost, Port : 8080
  • Thunderbird : Preferences | Advanced | Network & Disk space | Settings | Manual Proxy Configuration | SOCKS Host : localhost, Port : 8080
  • VLC : vlc –socks=“localhost:8080”
  • Pidgin : Tools | Preferences | Proxy | Proxy type: SOCKS 4, Host: localhost, Port: 8080
  • ssh, git : /etc/ssh_config
    Host *
        ProxyCommand socat STDIO SOCKS4:localhost:%h:%p,socksport=8080
software/ssh.1307481794.txt.gz · Last modified: 2013/09/19 16:43 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0