SSH (OpenSSH) 10 · Connecting

Copy a file over SSH

Copy a local file to a server.

scp -P 2222 file.txt [email protected]:/home/user/

Official SSH (OpenSSH) 10 documentation

More connecting commands

All connecting commands · SSH (OpenSSH) 10 cheatsheet

Was this page helpful?