$scp
Securely copy files and directories between hosts over SSH connection.
scp [OPTIONS] SOURCE DESTПопробуйте в интерактивной песочнице
Клиентская симуляция без установки с мгновенным результатом.
Обзор и принцип работы
`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.
Основные флаги и параметры команды
| 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. |
Практические примеры использования
scp notes.txt user@remote-server:/home/user/docs/Uploads notes.txt to the remote server directory over SSH.
Похожие команды Linux
Copy files and directories to a destination path.
Передача данных и выполнение сетевых запросов по протоколам HTTP, HTTPS и REST API.
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.