SCP command is use to transfer files between two servers over SSH. Most of SCP users getting error :
So keep in mind that scp command must be available on both local and remote systems.Use following commands to install package for scp command on Linux operating systems.
On CentOS/RHEL and Fedora:
yum install openssh-clients
On Ubuntu and Debian:
apt-get install openssh-client
To transfer files using SCP command,You can check our article here.