$scp
Securely copy files and directories between hosts over SSH connection.
scp [OPTIONS] SOURCE DESTEssayer en direct dans le bac à sable interactif
Simulation côté client sans installation avec retour instantané.
Aperçu et fonctionnement
`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.
Options et drapeaux courants
| 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. |
Exemples pratiques du monde réel
scp notes.txt user@remote-server:/home/user/docs/Uploads notes.txt to the remote server directory over SSH.
Commandes Linux associées
Copy files and directories to a destination path.
Transférer des données depuis ou vers un serveur via HTTP, HTTPS et 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.