Lost Password?
Forgot your username?
No account yet? Register

Show Cart
Your Cart is currently empty.
Generating and using ssh keys for automated backups
Generating and using ssh keys for automated backups

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 sync.coaly.net filesystem:

scp ~/.ssh/id_rsa.pub This e-mail address is being protected from spambots. You need JavaScript enabled to view it :.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@sync is most certainly NOT your login ID or hostname -
please change them.

4. Test that your key works by ssh'ing to your coaly.net filesystem
(from your local system, as the user who created/uploaded the key):

ssh This e-mail address is being protected from spambots. You need JavaScript enabled to view it ls

You should not be asked for a password

-----

Multiple Keys:

It is possible to upload multiple public keys to your coaly.net 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 This e-mail address is being protected from spambots. You need JavaScript enabled to view it '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 coaly.net
account.

-----

If you have _any problems_ with this process, do not hesitate to email This e-mail address is being protected from spambots. You need JavaScript enabled to view it - we will help
you immediately, and have you up and running that same day.

 
RocketTheme Joomla Templates