hangs on ssh to FreeBSD10
Brought to you by:
thesun
Doing a "sshpass -p password ssh vmfreebsd10-32 -l account ls" hangs forever.
The reason is that in this combination the prompt for the password looks like this:
"Password for account@vmfreebsd10-32:"
and sshpass checks the password against the string "assword:", so there is no match.
See
https://lists.freebsd.org/pipermail/freebsd-stable/2015-November/083710.html
and
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204819
In 1.06 you can specify the prompt to wait for on the command line.