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.
Couchdrop now supports this approach and a public key can be uploaded via https://my.couchdrop.io.
Creating a public key:
Before we begin, it's worth noting that public key authentication is only as secure as your private key. Under no circumstances should you upload your private keys or share them. Doing so compromises the security guaranteed by key based authentication.
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 to Couchdrop, login by visiting http://my.couchdrop.io, navigate to Keys and then copy the entire contents of the id_rsa.pub file to the RSA field for your account.Once configured, SCP, SFTP or Rsync will check you key before prompting you for a password. If the keys match, then password authentication will not be required