How to Install and Uninstall sshpass Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 15,2024

1. Install "sshpass" package

This tutorial shows how to install sshpass on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install sshpass

2. Uninstall "sshpass" package

Please follow the steps below to uninstall sshpass on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove sshpass $ sudo apt autoclean && sudo apt autoremove

3. Information about the sshpass package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: sshpass
Priority: extra
Section: universe/utils
Installed-Size: 55
Maintainer: Ubuntu Developers
Original-Maintainer: Shachar Shemesh
Architecture: amd64
Version: 1.05-1
Depends: libc6 (>= 2.4)
Recommends: ssh-client
Filename: pool/universe/s/sshpass/sshpass_1.05-1_amd64.deb
Size: 10498
MD5sum: 8f94422d04570700b91f0c1ac80139f5
SHA1: e85b3855e9f7aaf4136f5e11b2f74f83a1f1aa57
SHA256: abcd444f8bbb14a16a6c937e2d368dcd8c118e192764694d47ff331aba296a6d
Description-en: Non-interactive ssh password authentication
SSH's (secure shell) most common authentication mode is called "interactive
keyboard password authentication", so called both because it is typically
done via keyboard, and because openssh takes active measures to make sure
that the password is, indeed, typed interactively by the keyboard. Sometimes,
however, it is necessary to fool ssh into accepting an interactive password
non-interactively. This is where sshpass comes in.
.
SECURITY NOTE: There is a reason openssh insists that passwords be typed
interactively. Passwords are harder to store securely and to pass around
securely between programs. If you have not looked into solving your needs
using SSH's "public key authentication", perhaps in conjunction with the ssh
agent (RTFM ssh-add), please do so before being tempted into using this
package.
Description-md5: be212cb773a2c46e35ad51471f2c8d57
Homepage: http://sourceforge.net/projects/sshpass
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu