Your browser does not allow storing cookies. We recommend enabling them.

SSH

Creating the SOCKS Configuration

Create or edit the SOCKS configuration file or data set you have defined in the FTP configuration (for example, /etc/socks.conf).

The following configuration secures connections to hosts 192.168.10.5 and 192.168.10.10, and to class C network 192.168.20.0. Connections to other addresses will be direct:

sockd @=127.0.0.1 192.168.10.5 255.255.255.255 
sockd @=127.0.0.1 192.168.10.10 255.255.255.255 
sockd @=127.0.0.1 192.168.20.0 255.255.255.0
direct 0.0.0.0 0.0.0.0

The following configuration assumes that the loopback address for transparent FTP tunneling proxy was changed. It makes all FTP connections use SOCKS on the new loopback address:

sockd @=127.0.0.2 0.0.0.0 0.0.0.0


 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now