Rate This ProjectLogin To Rate This Project
Works great. Our corporate server does not allow us to use keypair for SSH, this is a life-saver. Thanks!
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?)
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);