SSH, SCP, SFTP and Rsync over SSH supports passwordless file transfers using RSA keys. Public/Private key based authentication for SSH, SCP, SFTP and Rsync is a convenient and secure way of transferring files between servers and is invaluable for cronjobs and other automated transfers.
Creating a public key:
Open a terminal and run ssh-keygen:
bash# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter a file in which to save the key (/Users/you/.ssh/id_rsa): [Press enter]
We do not recommend using a password with your SSH key.
This process will create two files in your ~/.ssh directory. Both a private key and a public key.
Uploading to Couchdrop:
To upload your newly created public key navigate to the desired user you wish to use this key with and copy the key string of the id_rsa.pub file to the RSA field.
Note: Do not paste in any prefix before the actual key string, for example exclude ssh-rsa or -----BEGIN RSA PRIVATE KEY-----
Once configured, SCP, SFTP or Rsync will check your key before prompting you for a password. If the keys match, then password authentication will not be required