tinysshd-printkey command not found

In this troubleshooting guide we learn how to fix tinysshd-printkey command not found error message

Introduction

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

tinysshd-printkey: command not found

or when using sudo you get the following error message

sudo: tinysshd-printkey: command not found

Solutions to tinysshd-printkey: command not found

How To Fix tinysshd-printkey: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tinysshd-printkey is provided by tinysshd package.

tinysshd is:

TinySSH is a minimalistic SSH server which implements only a subset of SSHv2 features. TinySSH supports only secure cryptography (minimum 128-bit security, protected against cache-timing attacks) ED25519, Curve25519(X25519), CHACHA20POLY1305. TinySSH implements only safe public-key authentication, password or hostbased authentication is not implemented. TinySSH has less than 100000 words of code, so it’s very easily auditable.

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

sudo apt-get -y install tinysshd

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

You can also use apt command to install tinysshd.

sudo apt -y install tinysshd

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

sudo aptitude install tinysshd

Summary

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