diff --git a/common/scp.md b/common/scp.md index 9bc7e69361..149d9ff5bd 100644 --- a/common/scp.md +++ b/common/scp.md @@ -11,7 +11,7 @@ `scp {{/local/file.txt}} {{10.0.0.1}}:{{/remote/path/newname.txt}}` -- upload a folder +- upload a directory `scp -r {{/local/folder}} {{10.0.0.1}}:{{/remote/path/}}` @@ -19,11 +19,11 @@ `scp {{10.0.0.1}}:{{/remote/path/file.txt}} {{/local/folder}}` -- download a folder +- download a directory `scp -r {{10.0.0.1}}:{{/remote/path}} {{/local/folder}}` -- specify credentials +- specify username on host `scp {{/local/file.txt}} {{my_user}}@{{10.0.0.1}}:{{/remote/path}}`