ssh keys

  1. Log in, on your local system, AS THE USER you wish to make passwordless ssh connections
  2. run the following:
    ssh-keygen -t rsa
    Accept the defaults - do not change the filenames or file locations It is very important that the resultant private and public keys reside in your home directories .ssh directory, or ~/.ssh (which is the default)
    DO NOT enter a passphrase - just hit enter twice, leaving an empty passphrase.
  3. Upload your public key to your BackSure filesystem:
    scp ~/.ssh/id_rsa.pub 1234@usw-s017.backsure.com:.ssh/authorized_keys
    DO NOT change the permissions on the uploaded file, before or after the upload
    DO NOT change the permissions on your home directory, or your .ssh directory
    NOTE: 1234@usw-s017 is most certainly NOT your login ID or hostname - please change them.
  4. Test that your key works by ssh'ing to your BackSure filesystem (from your local system, as the user who created/uploaded the key):
    ssh 1234@usw-s017.backsure.com ls
    You should not be asked for a password
-----

Multiple Keys:

It is possible to upload multiple public keys to your BackSure account, allowing one or more users on one or more computer systems to log in without a password. However, you cannot just follow the above instructions over and over again, because each time you follow them, you will overwrite the previous key. Instead, do this:

  1. For the first user on the first computer system, follow the instructions above exactly.
  2. For each subsequent user (possibly on different computer systems), replace step #3 above with this instead:
    cat ~/.ssh/id_rsa.pub | ssh 1234@usw-s017.backsure.com 'dd of=.ssh/authorized_keys oflag=append conv=notrunc'
  3. Repeat this process for each user until you have a fully populated authorized_keys file in your BackSure account.
-----

If you have _any problems_ with this process, do not hesitate to email support@backsure.com - we will help you immediately, and have you up and running that same day.

Unique Features


Speak with an Engineer Now

info@backsure.com

888-288-4743