How to Copy Files From One Machine to Another Using SSH (Linux)
This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage.
# Syntax
scp <source> <destination>
# To copy a file from B to A while logged into B:
scp </path/to/file> <Username>@<Host A>:</path/to/destination>
# To copy a file from B to A while logged into A:
scp <Username>@<Host B>:</path/to/file> </path/to/destination>
# To copy a file from B to A remotely:
scp <Username>@<Host B>:</path/to/file> <Username>@<Host A>:</path/to/destination>
Sources: