$scp
Securely copy files and directories between hosts over SSH connection.
scp [OPTIONS] SOURCE DESTLive im interaktiven Terminal ausprobieren
Client-seitige Simulation ohne Installation mit sofortigem Feedback.
Überblick & Funktionsweise
`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.
Wichtige Optionen und Flags
| 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. |
Praktische Anwendungsbeispiele
scp notes.txt user@remote-server:/home/user/docs/Uploads notes.txt to the remote server directory over SSH.
Verwandte Linux-Befehle
Copy files and directories to a destination path.
Datenübertragung über Netzwerkprotokolle wie HTTP, HTTPS und REST-APIs.
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.