virt-ssh-helper command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
virt-ssh-helper: command not found
or when using sudo you get the following error message
sudo: virt-ssh-helper: command not found
Solutions to virt-ssh-helper: command not found
How To Fix virt-ssh-helper: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu virt-ssh-helper is provided by libvirt-daemon package.
libvirt-daemon is:
Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The library aims at providing a long term stable C API for different virtualization mechanisms. It currently supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
This package contains the daemon libvirtd to manage the hypervisors.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libvirt-daemon
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libvirt-daemon.
sudo apt -y install libvirt-daemon
Or if you have aptitude installed you can use the following command.
sudo aptitude install libvirt-daemon
Summary
In this tutorial we learn how to fix virt-ssh-helper command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.