connect command not found

In this troubleshooting guide we learn how to fix connect command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

connect: command not found

or when using sudo you get the following error message

sudo: connect: command not found

Solutions to connect: command not found

How To Fix connect: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu connect is provided by connect-proxy package.

connect-proxy is:

connect-proxy is a simple relaying command to make tunnel TCP connection via SOCKS or HTTPS proxies. It is mainly intended to be used as proxy command of OpenSSH.

To fix this problem, we can install more using the command below.

sudo apt-get -y install connect-proxy

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install connect-proxy.

sudo apt -y install connect-proxy

Or if you have aptitude installed you can use the following command.

sudo aptitude install connect-proxy

Summary

In this tutorial we learn how to fix connect command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.