This example will use Squid 3.1.10 as an HTTP proxy server and Xshell 4 as a SSH client in CentOS x64:
First make sure Squid is running on the server.
[root@centOS64-x64 ~]# ps -aef | grep squid
root 1557 1 0 Jul18 ? 00:00:00 squid -f /etc/squid/squid.conf
squid 1560 1557 0 Jul18 ? 00:00:45 (squid) -f /etc/squid/squid.conf
squid 1562 1560 0 Jul18 ? 00:00:00 (unlinkd)
squid 12484 1560 0 Jul21 ? 00:00:00 (pam_auth)
root 22119 22095 0 01:15 pts/0 00:00:00 grep squid
[root@centOS64-x64 ~]#
Once Squid is running, apply the following steps:
- In Xshell, open the session Properties dialog box and then select the Proxy page.
- Click on the Browse… button
RESULT: Proxy Settings dialog box opens. - Enter the proxy information in the Proxy Settings dialog box:
- Click OK to save the changes.
- From the Proxy list, select the proxy server that you created in step 5.
- Click OK and save the changes to session properties.
That’s it! When you start the session, connection will go through the proxy server.