$scp
Securely copy files and directories between hosts over SSH connection.
scp [OPTIONS] SOURCE DESTPrueba en vivo en la terminal interactiva
Simulación del lado del cliente sin instalación y con respuesta inmediata.
Descripción general y funcionamiento
`scp` (Secure Copy Protocol) transfers files securely between a local host and a remote host, or between two remote servers, using the same authentication and encryption as SSH.
Opciones y banderas comunes
| Flag / Option | Description |
|---|---|
| -r | Recursively copy entire directories. |
| -P [port] | Specify port to connect to on the remote host. |
| -i [keyfile] | Identity file for SSH private key authentication. |
Ejemplos prácticos del mundo real
scp notes.txt user@remote-server:/home/user/docs/Uploads notes.txt to the remote server directory over SSH.
Comandos de Linux relacionados
Copy files and directories to a destination path.
Transfiera datos desde o hacia un servidor de red usando HTTP, HTTPS y API REST.
Non-interactive network downloader for HTTP, HTTPS, and FTP.
Send ICMP ECHO_REQUEST to network hosts to test connectivity and latency.
Print network connections, routing tables, interface statistics, and listening ports.
Securely log into remote Linux servers and execute commands over encrypted connections.