authprogs command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
authprogs: command not found
or when using sudo you get the following error message
sudo: authprogs: command not found
Solutions to authprogs: command not found
How To Fix authprogs: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu authprogs is provided by authprogs package.
authprogs is:
authrpogs is invoked on an ssh server and decides if the command requested by the ssh client should be run or rejected based on logic in the
authprogs
configuration file.
Passwordless SSH using ssh identies or pubkeys can enable all sorts of wonderful automation, for example running unattended batch jobs, slurping down backups, or pushing out code. Unfortunately a key, once trusted, is allowed by default to run anything on that system, not just the small set of commands you actually need. If the key is compromised, you are at risk of a security breach.
Authprogs is enabled by using the command= option in the authorized_keys file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install authprogs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install authprogs.
sudo apt -y install authprogs
Or if you have aptitude installed you can use the following command.
sudo aptitude install authprogs
Summary
In this tutorial we learn how to fix authprogs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.