Original: Department of Bo main article original article, reproduced or quoted, please indicate the source.
scp general format:
scp [option] src dst
1. src and dst format:
[user@]host:/path/to/file
2. If the do not specify a user, the above command is executed, you will be prompted to enter a user name and password
3. option option
1) When the option is -r, folders recursively transfer all files.
2) When the option is -p, behind specify the port number with the number.