我从sources编译了bbcp。
$ cat /proc/version
Linux版本2.6.32-696.23.1.el6.x86_64 (mockbuild@x86-027.build.eng.bos.redhat.com)(gcc版本4.4.7 20120313(Red Hat 4.4.7-18)(GCC))
$ bbcp --version
15.02.03.01.1
$ bbcp
bbcp:未指定复制参数。 用法:bbcp [选项] [检查] Outspec
选项:[-a [dir]] [-A] [-b [+] bf] [-B bsz] [-c [lvl]] [-C cfn] [-D] [-d路径] [-e] [-E csa] [-f] [-F] [-g] [-h] [-i idfn] [-I slfn] [-k] [-K] [-L opts [@logurl]] [-l logf] [-m模式] [-n] [-N nio] [-o] [-O] [-p] [-P sec] [-r] [-R [args]] [-q qos] [-s snum] [-S srcxeq] [-T trgxeq] [-t秒] [-v] [-V] [-u loc] [-U wsz] [-w [=] wsz] [-x速率] [-y] [-z] [-Z pnf [:pnl]] [-4 [loc]] [-〜] [-@ {copy | follow | ignore}] [-$] [-#] [>>-]
I / Ospec:[user @] [host:] file
现在要测试:
./bbcp -S '/bin/ssh -a -x -oFallBackTo Rsh=no %I -l %U %H %4
/home/username/bin/bbcp' test.file localhost:/dev/null
成功进行PAM身份验证后,它会出错:
-ksh:bbcp:找不到[没有这样的文件或目录]
我在bbcp上做错什么了吗?还是Linux配置问题?