sftp-who command not found

In this troubleshooting guide we learn how to fix sftp-who command not found error message

Introduction

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

sftp-who: command not found

or when using sudo you get the following error message

sudo: sftp-who: command not found

Solutions to sftp-who: command not found

How To Fix sftp-who: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sftp-who is provided by mysecureshell package.

mysecureshell is:

MySecureShell is a solution which has been made to bring more features to sftp/scp protocol given by OpenSSH. By default, OpenSSH brings a lot of liberty to connected users which imply to trust in your users.

The goal of MySecureShell is to offer the power and security of OpenSSH, with enhanced features (like ACL) to restrict connected users.

MySecureShell was created because of the lack of file transfer features in OpenSSH. OpenSSH was not designed as a file transfer solution, that’s why MySecureShell is born.

MySecureShell is not a patch for OpenSSH, it’s a shell for users. It has the advantage to:

  • Avoid including security holes in OpenSSH
  • No dependency on against an OpenSSH version
  • No OpenSSH recompilation is required

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

sudo apt-get -y install mysecureshell

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

You can also use apt command to install mysecureshell.

sudo apt -y install mysecureshell

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

sudo aptitude install mysecureshell

Summary

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