Transferring files over ssh with scp
Upload:
scp file user@host:/home/user
Download:
scp user@host:/home/user/file ./
Note: add flag -C
to compress files.
Code snippets in this post are covered by 0BSD License.
Upload:
scp file user@host:/home/user
Download:
scp user@host:/home/user/file ./
Note: add flag -C
to compress files.
Code snippets in this post are covered by 0BSD License.