ssh username@hostname -CYor
ssh username@hostname -CX(the Y vs X difference is minimal, and will not affect your user experience, just remember to use one of them). Here, username is your user name on the UNIX server, and hostname is the name of the UNIX server. For example, I could log into the UNIX server titan.smu.edu with the command
ssh [email protected] -CY
man ssh
scp file_to_copy_from username@hostname:file_to_copy_to
scp username@hostname:file_to_copy_from file_to_copy_to
scp [email protected]:file1 .
scp [email protected]:file1 file1
scp file2 [email protected]:
scp file2 [email protected]:file2