yubikey-agent command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
yubikey-agent: command not found
or when using sudo you get the following error message
sudo: yubikey-agent: command not found
Solutions to yubikey-agent: command not found
How To Fix yubikey-agent: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu yubikey-agent is provided by yubikey-agent package.
yubikey-agent is:
yubikey-agent is an easy to use ssh-agent for YubiKeys, written in Go. The key is generated on the YubiKey and can’t be extracted. Every session requires the PIN, every login requires a touch. The setup takes care of the PUK and the management key.
To fix this problem, we can install more using the command below.
sudo apt-get -y install yubikey-agent
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install yubikey-agent.
sudo apt -y install yubikey-agent
Or if you have aptitude installed you can use the following command.
sudo aptitude install yubikey-agent
Summary
In this tutorial we learn how to fix yubikey-agent command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.