sshpass - Non-interactive ssh password authentication

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe i386
Package name: sshpass
Package version: 1.05
Package release: 1
Package architecture: i386
Package type: deb
Installed size: 50 B
Download size: 9.99 KB
Official Mirror:
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.




    Binary package: sshpass_1.05-1_i386.deb
    Source package: sshpass

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install sshpass deb package:
      # sudo apt-get install sshpass


    • /usr/bin/sshpass
    • /usr/share/doc/sshpass/changelog.Debian.gz
    • /usr/share/doc/sshpass/copyright
    • /usr/share/man/man1/sshpass.1.gz


    2011-08-06 - Shachar Shemesh <> sshpass (1.05-1) unstable; urgency=low * Fix ""sshpass -e" not working any more with openssh-client": A different workaround for the EIO on PTY problem. (Closes: #636039) * Fix "Segfault when calling with no argument": Problem did not reproduce, but print usage when run without parameters anyways. (Closes: #616565) * Switch to dpkg-source 3.0 (quilt) format * Policy update to 3.9.10 (no changes needed)

    2009-02-20 - Shachar Shemesh <> sshpass (1.04-1) unstable; urgency=low * Fix "fails when ssh asks for host key confirmation": sshpass now detects the situation and returns a coded error (Closes: #506208) * Several new upstream versions fixing some crashes * Update the version file to explicitly state GPL version 2

    2008-10-18 - Shachar Shemesh <> sshpass (1.01-2) unstable; urgency=medium * sshpass taking 100% CPU while the ssh session is running (Closes: #502585) * Update policy version to - Added "Homepage" to package. * Fixed lintian warning about copyright file

    2008-01-09 - Shachar Shemesh <> sshpass (1.01-1) unstable; urgency=low * New upstream release * Update policy version to 3.7.3 (no changes necessary) * sshpass now passes tty resize to ssh (upstream fix) (Closes: #441083) * Package now recommends ssh-client instead of depending on ssh (Closes: #408707)

    2006-10-17 - Shachar Shemesh <> sshpass (1.00-2) unstable; urgency=low * Update the maintainer's email address (now a Debian Developer) * Fix long description grammar (Closes: #360850) * Update policy version to 3.7.2 (no changes necessary)

    2006-02-28 - Shachar Shemesh <> sshpass (1.00-1) unstable; urgency=low * Initial release Closes: 354800