How To Install ksshaskpass on CentOS 8
Introduction
In this tutorial we learn how to install ksshaskpass
on CentOS 8.
What is ksshaskpass
A ssh-add helper that uses kwallet and kpassworddialog.
We can use yum
or dnf
to install ksshaskpass
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ksshaskpass.
Install ksshaskpass on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install ksshaskpass
using dnf
by running the following command:
sudo dnf -y install ksshaskpass
Install ksshaskpass on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install ksshaskpass
using yum
by running the following command:
sudo yum -y install ksshaskpass
How To Uninstall ksshaskpass on CentOS 8
To uninstall only the ksshaskpass
package we can use the following command:
sudo dnf remove ksshaskpass
ksshaskpass Package Contents on CentOS 8
/etc/xdg/plasma-workspace/env/ksshaskpass.sh
/usr/bin/ksshaskpass
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/3e1ad88c4dba111773e1baafb18485d4f547c6
/usr/share/doc/ksshaskpass
/usr/share/doc/ksshaskpass/ChangeLog
/usr/share/licenses/ksshaskpass
/usr/share/licenses/ksshaskpass/COPYING
/usr/share/locale/ar/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/bs/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/ca/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/cs/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/da/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/de/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/el/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/en_GB/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/es/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/et/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/eu/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/fi/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/fr/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/gl/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/he/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/ia/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/id/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/it/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/ko/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/lt/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/ml/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/nb/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/nl/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/nn/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/pa/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/pl/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/pt/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/ro/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/ru/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/sk/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/sl/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/sr/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/sr@ijekavian/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/sr@ijekavianlatin/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/sr@latin/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/sv/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/tg/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/tr/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/uk/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/zh_CN/LC_MESSAGES/ksshaskpass.mo
/usr/share/locale/zh_TW/LC_MESSAGES/ksshaskpass.mo
/usr/share/man/man1/ksshaskpass.1.gz
References
Summary
In this tutorial we learn how to install ksshaskpass
on CentOS 8 using yum and dnf.