💾 Archived View for freeshell.de › tldr › scp.gmi captured on 2024-05-12 at 15:55:12. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

scp

Secure copy.
Copy files between hosts using Secure Copy Protocol over SSH.

More information.

scp {path/to/local_file} {remote_host}:{path/to/remote_file}
scp -P {port} {path/to/local_file} {remote_host}:{path/to/remote_file}
scp {remote_host}:{path/to/remote_file} {path/to/local_directory}
scp -r {remote_host}:{path/to/remote_directory} {path/to/local_directory}
scp -3 {host1}:{path/to/remote_file} {host2}:{path/to/remote_directory}
scp {path/to/local_file} {remote_username}@{remote_host}:{path/to/remote_directory}
scp -i {~/.ssh/private_key} {local_file} {remote_host}:{/path/remote_file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY