What is the terminal command to retrieve files from a remote server using ssh in Mac OS X?

To grab a file over SSH:

$ scp host:/path/to/file local_file

To send a file:

$ scp local_file host:/path/to/file

scp is "secure copy", a copy utility that sends files over an SSH connection.