How To Install ssh-askpass-gnome on Ubuntu 20.04

In this tutorial we learn how to install ssh-askpass-gnome on Ubuntu 20.04. ssh-askpass-gnome is interactive X program to prompt users for a passphrase for ssh-add interactive X program to prompt users for a passphrase for ssh-add

Introduction

In this tutorial we learn how to install ssh-askpass-gnome on Ubuntu 20.04.

What is ssh-askpass-gnome

ssh-askpass-gnome is:

This has been split out of the main openssh-client package so that openssh-client does not need to depend on GTK+.

You probably want the ssh-askpass package instead, but this is provided to add to your choice and/or confusion. Task: ubuntu-budgie-desktop

Package: ssh-askpass-gnome Architecture: amd64 Version: 1:8.2p1-4 Multi-Arch: foreign Priority: optional Section: universe/gnome Source: openssh Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenSSH Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 150 Provides: ssh-askpass Depends: openssh-client | ssh (>= 1:1.2pre7-4), libc6 (>= 2.2.5), libglib2.0-0 (>= 2.12.0), libgtk-3-0 (>= 3.0.0), libx11-6 Replaces: ssh (« 1:3.5p1-3) Filename: pool/universe/o/openssh/ssh-askpass-gnome_8.2p1-4_amd64.deb Size: 17420 MD5sum: cb48c64259d867ce8482243947533b6a SHA1: 40506348bdb3e7216abf73857d3bf3152f9f93f5 SHA256: d581594ff81440ca167e6dac72c73186bcb4b91c04c9bb7ce2a8bc6cbf86eec5 Homepage: http://www.openssh.com/ Description-en: interactive X program to prompt users for a passphrase for ssh-add This has been split out of the main openssh-client package so that openssh-client does not need to depend on GTK+.

You probably want the ssh-askpass package instead, but this is provided to add to your choice and/or confusion. Task: ubuntu-budgie-desktop

There are three methods to install ssh-askpass-gnome on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ssh-askpass-gnome Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ssh-askpass-gnome using apt-get by running the following command:

sudo apt-get -y install ssh-askpass-gnome

Install ssh-askpass-gnome Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ssh-askpass-gnome using apt by running the following command:

sudo apt -y install ssh-askpass-gnome

Install ssh-askpass-gnome Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ssh-askpass-gnome using aptitude by running the following command:

sudo aptitude -y install ssh-askpass-gnome

How To Uninstall ssh-askpass-gnome on Ubuntu 20.04

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

sudo apt-get remove ssh-askpass-gnome

Uninstall ssh-askpass-gnome And Its Dependencies

To uninstall ssh-askpass-gnome and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove ssh-askpass-gnome

Remove ssh-askpass-gnome Configurations and Data

To remove ssh-askpass-gnome configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ssh-askpass-gnome

Remove ssh-askpass-gnome configuration, data, and all of its dependencies

We can use the following command to remove ssh-askpass-gnome configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ssh-askpass-gnome

References

Summary

In this tutorial we learn how to install ssh-askpass-gnome package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.