User Ratings
Rate This Project
Login To Rate This Project
Featured Reviews
Highest Rated
Works great.
Our corporate server does not allow us to use keypair for SSH, this is a life-saver.
Thanks!
Lowest Rated
Stopped working after I upgraded my OpenSSL to version 1:
$ ssh -V
OpenSSH_5.6p1-lpk, OpenSSL 1.0.0c 2 Dec 2010
it just hangs there. strace shows read() as the last command, I guess it's waiting for user input (sshpass does not input the password?)
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!
-
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!
-
Compiled this using Cygwin/GCC and had no problems. Used it with Cygwin/Bash to automate a task that would have taken a couple hours. Thank you for teh codez! :D
-
A lifesaver.
-
Great stuff.
-
Thanks !! work very well on RHEL 6.2 but cannot build on Solaris 9 sparc gcc -g -O2 -o sshpass main.o Undefined first referenced symbol in file pselect main.o ld: fatal: Symbol referencing errors. No output written to sshpass
-
/usr/local/bin/sshpass.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory SOLUTION: Move sshpass to /bin, and run it from there. PROBLEM: I'm trying to run sshpass from cygwin while running on Windows 7. I was trying to create a shortcut button that did this: C:\cygwin\bin\perl.exe C:\4.pl Where 4.pl started 4 mintty shpass ssh sessions on 4 other remote machines. I followed the instructions to download and install sshpass, and the script worked flawlessly, BUT ONLY if you run the perl script from the cygwin command line. I was reading some other "error while loading shared libraries" errors online, and found the blurb about moving cygcrypto to the /usr/bin directory, so I tried moving them to /usr/local/bin, that first, but no luck, but what if!? I move sshpass to /bin/ ??? It worked! I would recommend that the sshpass release engineers make the default 'make install' put it into /bin, instead of /usr/local/bin. Otherwise, if you run the sshpass from a windows env, it just can't find the libraries it needs. Other than making it jump through some hoops (painfully) I'd give this tool a thumbs up.
-
Also build for Slackware 13.37 32-bit. I also created a slackbuild but found one already in the pending queue! Man page has appropriate security warnings.
-
Works spot on with Slackware64 13.37, just what I needed for some local ssh'ing. I have submitted a SlackBuild to slackbuilds.org.
-
Stopped working after I upgraded my OpenSSL to version 1: $ ssh -V OpenSSH_5.6p1-lpk, OpenSSL 1.0.0c 2 Dec 2010 it just hangs there. strace shows read() as the last command, I guess it's waiting for user input (sshpass does not input the password?)
- Previous
- You're on page 1
- Next