> For the complete documentation index, see [llms.txt](https://wiki.smhuda.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.smhuda.com/pentesting/tool-usage/secure-copy-protocol-scp.md).

# Secure Copy Protocol (SCP)

## Transferring from remote to host:

```
sudo scp user@192.168.1.2:/home/john/evidence-output* /home
```

### Copy the remote file to the localhost:

```
scp your_username@192.168.0.10:<remote_file> /some/local/directory
```

### Copy the local file to the remote host:

```
scp <local_file> your_username@192.168.0.10:/some/remote/directory
```
