StatCounter




Showing posts with label Tips And Tricks. Show all posts
Showing posts with label Tips And Tricks. Show all posts

Monday, March 2, 2015

Using SSH behind a Squid Proxy

SQUID proxy works by redirecting all the traffic to port 3128 thus people might have difficulty in using ssh.(waploft)

For this we can use proxy-connect or corkscrew uility and channel our ssh traffic through the proxy.

So fire up the terminal and follow the steps.

STEP 1:-  Install proxy-connect (*At this time you are not on a proxy network)

#apt-get update

#apt-get install proxy-connect

STEP 2:- Add following lines to .ssh/config

# Outside of the firewall, with HTTPS proxy
Host *
  ProxyCommand connect -H 10.0.0.254:3128 %h 22
## Inside the firewall (do not use proxy)
Host *
   ProxyCommand connect %h %p




*Note:-   Replace Ip address to your proxy server IP and PORT



Step 3:- Now Add you system into the proxy network and ssh to your server

#ssh name@server.com
(webmusic)

That's it!! You are through to the proxy server.