parallel-scp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
parallel-scp: command not found
or when using sudo you get the following error message
sudo: parallel-scp: command not found
Solutions to parallel-scp: command not found
How To Fix parallel-scp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu parallel-scp is provided by pssh package.
pssh is:
pssh provides a number of commands for executing against a group of computers, using SSH. It’s most useful for operating on clusters of homogenously-configured hosts.
The package contains:
- Parallel ssh (parallel-ssh, upstream calls it pssh), executes commands on multiple hosts in parallel
- Parallel scp (parallel-scp, upstream calls it pscp), copies files to multiple remote hosts in parallel
- Parallel rsync (parallel-rsync, upstream calls it prsync), efficiently copies files to multiple hosts in parallel
- Parallel nuke (parallel-nuke, upstream calls it pnuke), kills processes on multiple remote hosts in parallel
- Parallel slurp (parallel-slurp, upstream calls it pslurp), copies files from multiple remote hosts to a central host in parallel
These tools are good for controlling large collections of nodes, where faster alternatives such as gexec and pcp are not available.
This package contains the tools itself.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pssh
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pssh.
sudo apt -y install pssh
Or if you have aptitude installed you can use the following command.
sudo aptitude install pssh
Summary
In this tutorial we learn how to fix parallel-scp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.