Written by Xiaoguang Li
From off campus, you are able to download files or folders from DSC computers to personal laptops.
Open a terminal window in Mac, and first create the tunnel of transfer by providing your fsuid and remote computer name:
Once the tunnel is established by providing credentials, you can start to download or upload as follows:
rsync -avz -e 'ssh -p 2222' fsuid@localhost:/remote_directory_to_be_downloaded /local_destination
rsync -avz -e 'ssh -p 2222' /local_upload_folder fsuid@localhost:/remote_destination_directory
Open a command Window, and establish the tunnel (NOTE the option -R):
Now you can download or upload files and/or folders as follows (NOTE the option -P):
scp -r -P 2222 fsuid@localhost:/remote_directory_to_be_downloaded /local_destination
scp -r -P 2222 /local_source fsuid@localhost:/remote_destination
fsuid password may be required.