cryptsetup-ssh command not found

In this troubleshooting guide we learn how to fix cryptsetup-ssh command not found error message

Introduction

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

cryptsetup-ssh: command not found

or when using sudo you get the following error message

sudo: cryptsetup-ssh: command not found

Solutions to cryptsetup-ssh: command not found

How To Fix cryptsetup-ssh: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cryptsetup-ssh is provided by cryptsetup-bin package.

cryptsetup-bin is:

Cryptsetup provides an interface for configuring encryption on block devices (such as /home or swap partitions), using the Linux kernel device mapper target dm-crypt. It features integrated Linux Unified Key Setup (LUKS) support.

This package provides cryptsetup, cryptsetup-reencrypt, integritysetup and veritysetup.

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

sudo apt-get -y install cryptsetup-bin

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

You can also use apt command to install cryptsetup-bin.

sudo apt -y install cryptsetup-bin

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

sudo aptitude install cryptsetup-bin

Summary

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