copy paste over ssh linux code example
Example 1: how to copy ssh key
ssh-copy-id -i ~/.ssh/mykey user@host
Example 2: ssh copy past
scp [email protected]:/share/music/filename1.mp3 /var/tmp
mp3 to /var/tmp
scp -r [email protected]:/share/music/album1 /var/tmp/
So now all the folder with mp3's /share/music/album1 will save to /var/tmp/