scp

The command that copies files to or from another machine over SSH, written as user@host:path.

In more detail

It uses the same keys and logins as ssh. It copies everything every time, so for directories you sync repeatedly rsync is better.

Example

scp -q backup.tar.gz deploy@web01:/srv/backups/

Related terms

Taught in

References

Certification courses