sss_ssh_knownhostsproxy command not found

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

Introduction

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

sss_ssh_knownhostsproxy: command not found

or when using sudo you get the following error message

sudo: sss_ssh_knownhostsproxy: command not found

Solutions to sss_ssh_knownhostsproxy: command not found

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

In Ubuntu sss_ssh_knownhostsproxy is provided by sssd-common package.

sssd-common is:

Provides a set of daemons to manage access to remote directories and authentication mechanisms. It provides an NSS and PAM interface toward the system and a pluggable backend system to connect to multiple different account sources. It is also the basis to provide client auditing and policy services for projects like FreeIPA.

This package provides the daemon and other common files needed by the authentication back ends.

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

sudo apt-get -y install sssd-common

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

You can also use apt command to install sssd-common.

sudo apt -y install sssd-common

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

sudo aptitude install sssd-common

Summary

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