scp path/to/source.txt user@localhost:path/to/destinationFolder
# To scp a file to the Desktop directory within your home directory type:
scp -P 2500 file_name.txt ece373@localhost:Desktop/
# To scp a file from your VM to your desktop type:
scp -P 2500 ece373@localhost:Desktop/file_name.txt file_name.txt
scp [options] username1@source_host:directory1/filename1 username2@destination_host:directory2/filename2
scp [OPTION] [[user@]SRC_HOST:]file1 [[user@]DEST_HOST:]file2