Non-interactive ssh password auth (original) (raw)
Sshpass is a tool for non-interactivly performing password authentication with SSH's so called "interactive keyboard password authentication". Most user should use SSH's more secure public key authentiaction instead.
License
GNU General Public License version 2.0 (GPLv2)
Comprehensive Cybersecurity to Safeguard Your Organization | SOCRadar
See what hackers already know about your organization – and stop them from getting in.
Protect your organization from cyber threats with SOCRadar’s cutting-edge threat intelligence. Gain 360° visibility into your digital assets, monitor the dark web, and stay ahead of hackers with real-time insights. Start for free and transform your cybersecurity today.
User Ratings
4.6 out of 5 stars
★★★★★
★★★★
★★★
★★
★
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
User Reviews
Thanks! it worked on my stand alone micro controller with no monitor and keyboard... it is able to send files to our primitive SFTP server without key files.
not supplying password with pem file (ssh -i) sshpass -p Password ssh -i key-file.pem user@host
Works great. Our corporate server does not allow us to use keypair for SSH, this is a life-saver. Thanks!
1 user found this review helpful.Works well on a lot of OS's except on SunOS: $ uname -a SunOS srv7 5.8 Generic_117350-25 sun4u sparc SUNW,Sun-Fire-V210 I got this error with the missing symbol "pselect". So I gave it a try to replace it with "select" which is on my system. It works a little, but hangs on exit so I have to Ctrl-C to get out. To my knowledge pselect should be on the system but it is not. $ diff main.c.OLD main.c 318c318 < int selret=pselect( masterpt+1, &readfd, NULL, NULL, NULL, &sigmask_select ); --- > int selret=select( masterpt+1, &readfd, NULL, NULL, NULL);
SF says I have to say something, so this is it: Works great! Read more reviews >
Additional Project Details
Operating Systems
Intended Audience
Advanced End Users
User Interface
Command-line
Programming Language
Related Categories
2006-01-04