ssh-import-id-lp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ssh-import-id-lp: command not found
or when using sudo you get the following error message
sudo: ssh-import-id-lp: command not found
Solutions to ssh-import-id-lp: command not found
How To Fix ssh-import-id-lp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ssh-import-id-lp is provided by ssh-import-id package.
ssh-import-id is:
This utility will securely contact a public keyserver (Launchpad.net by default, but Github.com is also supported), retrieve one or more user’s public keys, and append these to the current user’s ~/.ssh/authorized_keys file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ssh-import-id
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ssh-import-id.
sudo apt -y install ssh-import-id
Or if you have aptitude installed you can use the following command.
sudo aptitude install ssh-import-id
Summary
In this tutorial we learn how to fix ssh-import-id-lp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.