Copy files using ssh scp

copy from remote server

scp -P22 user@192.168.1.161:/home/user/.virtualenvs/vallo/requirements.txt /Users/user/requirements.txt

copy from local server

scp -P22 somefile username@server:/home/username/

Copy a directory

scp -r root@my.web.server.com:/var/www/whatportis/* /var/www/whatportis/