scp file.txt user@host:/path/

Category: SSH & Remote

scp file.txt user@host:/path/

Copy a local file to a remote host

Copies a local file to a remote server using SCP (Secure Copy Protocol), which uses SSH for encryption.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.