CentOS: scp: command not found

Автор: | 15/09/2013

ssh_logoПосле установки CentOS 6.4 minimal install – в нём не оказалось даже SCP. При попытке копирования на него – получаем ошибку:

Cannot execute SCP to start transfer. Please make sure that SCP is installed on the server and path to it is included in PATH. You may also try SFTP instead of SCP.
Command failed with return code 127.

То же при попытке выполнить просто scp:

# scp
-bash: scp: command not found

Исправляется установкой openssh-clients:

# yum -y install openssh-clients
openssh-clients.x86_64 0:5.3p1-84.1.el6


# scp
usage: scp [-1246BCpqrv]...