How To Install openssh-askpass on Rocky Linux 8

In this tutorial we learn how to install openssh-askpass on Rocky Linux 8. openssh-askpass is A passphrase dialog for OpenSSH and X

Introduction

In this tutorial we learn how to install openssh-askpass on Rocky Linux 8.

What is openssh-askpass

OpenSSH is a free version of SSH (Secure SHell), a program for logging into and executing commands on a remote machine. This package contains an X11 passphrase dialog for OpenSSH.

We can use yum or dnf to install openssh-askpass on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install openssh-askpass.

Install openssh-askpass on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install openssh-askpass using dnf by running the following command:

sudo dnf -y install openssh-askpass

Install openssh-askpass on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install openssh-askpass using yum by running the following command:

sudo yum -y install openssh-askpass

How To Uninstall openssh-askpass on Rocky Linux 8

To uninstall only the openssh-askpass package we can use the following command:

sudo dnf remove openssh-askpass

openssh-askpass Package Contents on Rocky Linux 8

/etc/profile.d/gnome-ssh-askpass.csh
/etc/profile.d/gnome-ssh-askpass.sh
/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/c6319cab034ee573695e0ff407f593a1c1f957
/usr/libexec/openssh/gnome-ssh-askpass
/usr/libexec/openssh/ssh-askpass

References

Summary

In this tutorial we learn how to install openssh-askpass on Rocky Linux 8 using yum and dnf.