我在Ubuntu 11.10 x64系统中安装了pssh软件包。我可以通过调用parallel-ssh运行程序,但是pssh给了我
$ pssh
No command 'pssh' found, did you mean:
Command 'bssh' from package 'avahi-ui-utils' (universe)
Command 'cssh' from package 'clusterssh' (universe)
Command 'ssh' from package 'openssh-client' (main)
Command 'posh' from package 'posh' (universe)
Command 'pdsh' from package 'pdsh' (universe)
Command 'mssh' from package 'mssh' (universe)
Command 'zssh' from package 'zssh' (universe)
Command 'rssh' from package 'rssh' (universe)
Command 'ppsh' from package 'ppsh' (universe)
Command 'push' from package 'heimdal-clients' (universe)
pssh: command not found
为什么会发生这种情况?使pssh命令正常工作的正确方法是什么?
PS我知道我可以创建链接到/ usr / bin / parallel-ssh的名为/ usr / bin / pssh的链接,但是这些对我来说似乎很肮脏。:(
关于原因,请参见/usr/share/doc/pssh/README.Debian。
To avoid any conflicts with the putty package, all of the programs have been
renamed.
parallel-ssh is pssh
parallel-scp is pscp
parallel-rsync is prsync
parallel-nuke is pnuke
parallel-slurp is pslurp
关于该符号链接,一个更简洁的解决方案是创建/ usr / local / bin / pssh符号链接,并使其指向/ usr / bin / parallel-ssh。除了/ usr / local /以外,通常最好将/ usr /的内容留给软件包管理器。默认情况下,/ usr / local / bin也是PATH环境的一部分。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句