How To Install connect-proxy on CentOS 7

In this tutorial we learn how to install connect-proxy on CentOS 7. connect-proxy is SSH Proxy command helper

Introduction

In this tutorial we learn how to install connect-proxy on CentOS 7.

What is connect-proxy

connect-proxy is the simple relaying command to make network connection via SOCKS and https proxy. It is mainly intended to be used as proxy command of OpenSSH. You can make SSH session beyond the firewall with this command. Features of connect-proxy are * Supports SOCKS (version 4/4a/5) and https CONNECT method. * Supports NO-AUTH and USERPASS authentication of SOCKS * Partially supports telnet proxy (experimental). * You can input password from tty, ssh-askpass or environment variable. * Simple and general program independent from OpenSSH. * You can also relay local socket stream instead of standard I/O.

We can use yum or dnf to install connect-proxy on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install connect-proxy.

Install connect-proxy on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install connect-proxy using yum by running the following command:

sudo yum -y install connect-proxy

Install connect-proxy on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install connect-proxy using dnf by running the following command:

sudo dnf -y install connect-proxy

How To Uninstall connect-proxy on CentOS 7

To uninstall only the connect-proxy package we can use the following command:

sudo dnf remove connect-proxy

References

Summary

In this tutorial we learn how to install connect-proxy on CentOS 7 using yum and dnf.