See tutorial.

Copy to remote

Copy file.

$ scp ~/images/foo.jpg my-user@myhost.com:~/my_images

Copy files.

$ scp ~/images/*.jpg my-user@myhost.com:~/my_images

Copy directory.

$ scp -r ~/images my-user@myhost.com:~/my_images

Copy to local

$ scp my-user@myhost.com:~/my_images/*.jpg ~/images/