We are unable to transfer multiple files to a remote server when password-less SSH is not setup. We also notice that we make multiple trips to the remote server whenever we use "--bf" to transfer a file to the remote server. From this, we had to input multiple passwords.
local$ ./parallel -V
GNU parallel 20130722
local$ uname -a
Linux local 2.6.18-308.8.1.el5 #1 SMP Fri May 4 16:43:02 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
remote$ uname -a
Linux remote 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
local$ touch file1 file2
local$ ./parallel --nonall -k --bf file1 --bf file2 -S remote "ls -trlh"
remote's password: remote's password:
stty: standard input: Invalid argument
local$ rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(542) [sender=3.0.6]
The above command did not come back and we press "CTRL+C" to exit.
Thanks,
zhi
--
Zhi Shen