Using Rsync with the Data Import, Storage & Collaboration (DISC) Service
Creating a Public Key
Windows Users
- Download PuTTYgen separately or as part of the PuTTY package.
- Click the Generate button in PuTTYgen and it will ask you to move your mouse for randomness.
- Specify a passphrase. Technically this is optional, but if you omit the passphrase, then anyone who happens to get ahold of your private key file can login as you.
- Press the Save Public Key button to save the public key.
- Press the Save Private Key button to save your private key. This saves the private key in “.ppk”
- To make the key compatible with clients other than PuTTY , click on “export your Openssh key” under the “Conversions”.
Linux/Mac Users
Uploading the key
Note: We will provide a way for the users to upload their public keys soon.
After the key is uploaded and entered, the rsync command can be used. Below is an example,
$ rsync -avz -e "ssh -i /home/thisuser/cron/thishost-rsync-key" /this/dir/ remoteuser@remotehost:/remote/dir
|