Some useful SSH codes and notes
You can do this with the scp command. scp uses the SSH protocol to copy files across system by extending the syntax of cp.
scp /path/to/local/file username@hostname:/path/to/remote/file
scp username1@hostname1:/path/to/file username2@hostname2:/path/to/other/file
scp username@hostname:/path/to/remote/file /path/to/local/file