Transfer files through scp through ssh
Assume that the ssh password-less logon sub-node is configured. For details about ssh password-less logon configuration, see
The command is as follows:
Scp-r ~ /2.tar Hadoop @ slave1 :~ /
The specific interface is as follows:
Common Errors:
Scp not a regular file Error
The-r parameter is used to upload the folder. Otherwise, the not a regular file error occurs.
Scp-r bdump hadoop @ slave1: bdump
Configure scp to transfer files between Linux and Unix without a password
Cp/scp command + scp command in Linux
CentOS cannot use scp command Solution
Copy files between two Linux Hosts using scp
SSH password-free login configuration in CentOS 6.0
How to Improve the SSH login authentication speed of Ubuntu
Enable the SSH service to allow Android phones to remotely access Ubuntu 14.04
Configure and manage the SSH service on Linux
Basic SSH tutorial
This article permanently updates the link address: