ssh-diff command not found
In this troubleshooting guide we learn how to fix ssh-diff command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
ssh-diff: command not found
or when using sudo you get the following error message
sudo: ssh-diff: command not found
Solutions to ssh-diff: command not found
How To Fix ssh-diff: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ssh-diff is provided by ssh-tools package.
ssh-tools is:
the following tools are included
- ssh-ping: check if host is reachable using ssh_config
- ssh-version: shows version of the SSH server you are connecting to
- ssh-diff: diff a file over SSH
- ssh-facts: get some facts about the remote system
- ssh-hostkeys: prints server host keys in several formats
- ssh-keyinfo: prints keys in several formats
- ssh-certinfo: shows validity and information of SSH certificates
- ssh-force-password: enforces password authentication
To fix this problem, we can install more using the command below.
sudo apt-get -y install ssh-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ssh-tools.
sudo apt -y install ssh-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install ssh-tools
Summary
In this tutorial we learn how to fix ssh-diff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.