zsnapd-rcmd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
zsnapd-rcmd: command not found
or when using sudo you get the following error message
sudo: zsnapd-rcmd: command not found
Solutions to zsnapd-rcmd: command not found
How To Fix zsnapd-rcmd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu zsnapd-rcmd is provided by zsnapd-rcmd package.
zsnapd-rcmd is:
ZFS Snapshot Daemon is written in python, and it can remotely manage ZFS snapshotting and backup from a central back up server. This is the security plugin command for sshd that implements ForceCommand functionality, or the command functionality in the .ssh/authorized_keys file (See the sshd_config(8) and sshd(8) man pages respectively).
It executes commands from the SSH_ORIGINAL_COMMAND variable after checking them against a list of configured regular expressions.
To fix this problem, we can install more using the command below.
sudo apt-get -y install zsnapd-rcmd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install zsnapd-rcmd.
sudo apt -y install zsnapd-rcmd
Or if you have aptitude installed you can use the following command.
sudo aptitude install zsnapd-rcmd
Summary
In this tutorial we learn how to fix zsnapd-rcmd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.