mirror of https://github.com/Idnan/bash-guide.git
parent
986117ef3d
commit
809824add8
|
@ -838,7 +838,7 @@ scp source_file user@host:directory/target_file
|
||||||
*copy from remote host to local host*
|
*copy from remote host to local host*
|
||||||
```bash
|
```bash
|
||||||
scp user@host:directory/source_file target_file
|
scp user@host:directory/source_file target_file
|
||||||
scp -r user@host:directory/source_folder farget_folder
|
scp -r user@host:directory/source_folder target_folder
|
||||||
```
|
```
|
||||||
This command also accepts an option `-P` that can be used to connect to specific port.
|
This command also accepts an option `-P` that can be used to connect to specific port.
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue