ftp-proxy command not found

In this troubleshooting guide we learn how to fix ftp-proxy command not found error message

Introduction

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

ftp-proxy: command not found

or when using sudo you get the following error message

sudo: ftp-proxy: command not found

Solutions to ftp-proxy: command not found

How To Fix ftp-proxy: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ftp-proxy is provided by ftp-proxy package.

ftp-proxy is:

FTP-Proxy is a transparent, application-level proxy server for FTP connections, designed to protect FTP servers against attacks based on the FTP protocol. It is the first (and currently only) component of the SuSE Proxy Suite, a set of programs to enhance firewall security.

FTP-Proxy is much less complex than any current FTP server, has been designed with great care and performs chroot(), setuid(), setgid() to avoid possible vulnerabilities, and is believed to be immune against current known attacks.

FTP-Proxy features include: o Securely relays FTP connections between clients and servers o Can switch connections from active to passive and vice versa o Utilizes port ranges for both control and data connections o Provides extensive auditing (via syslog or rotating log files) o Can separate user related from system triggered audit events o Provides command restriction based on logged in user name o Allows command argument checking with regular expressions o Is able to retrieve configuration data from an LDAP directory o Has been thoroughly tested against buffer overflow attacks o Fully conforms to RFC 959 and 1123 (the basic FTP RFCs) o Planned to support RFC 1579 (“Firewall Friendly FTP”) o Planned to support RFC 2428 (IPv6 Extensions for FTP) o Based on GNU AutoConf, supposed to run on many UNIX systems

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

sudo apt-get -y install ftp-proxy

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

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

sudo apt -y install ftp-proxy

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

sudo aptitude install ftp-proxy

Summary

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