Friday, April 19, 2024
41
rated 0 times [  41] [ 0]  / answers: 1 / hits: 23690  / 3 Years ago, tue, june 29, 2021, 8:28:23

I have pssh package installed in my Ubuntu 11.10 x64 system.
And I can run the program via calling parallel-ssh
However, pssh gives me



$ 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


Why does this happen and what is a right way to get pssh command working?



P.S. I know that I can create link named /usr/bin/pssh linked to /usr/bin/parallel-ssh but these seems dirty hack to me. :(


More From » command-line

 Answers
2

Regarding the why, see /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


About that symlink, a slightly cleaner solution is creating /usr/local/bin/pssh symlink and let it point to /usr/bin/parallel-ssh. With the exception of /usr/local/ it is generally best to leave the content of /usr/ to the package manager. By default /usr/local/bin is too part of the PATH environment.


[#39462] Tuesday, June 29, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fishutt

Total Points: 391
Total Questions: 137
Total Answers: 106

Location: Mexico
Member since Tue, Aug 11, 2020
4 Years ago
;