Help!
Has anyone used the backup package from dungog, ie backup/rsync
I have downloaded it installed it and followed the instruction's but i cant get it to login without prompting for a password. below is what i have tried.
On both my Sme servers ssh is enabled. (Sme 4.1.2 & 5.1.2)
I have created a user called rsa on both servers and did the following to
give him ssh shell access.
chsh -s /bin/bash rsa
I then try to get a login without being prompted for a password, but
everytime it prompts me?
====================Documentation========================
To establish a secure connection without being prompted for a password you
need to install ssh authorized keys, select/create a user on both server
with enough permission to read the files you want to transfer, you may need
to make them a member of the group that owns the files or chown the files.
using root should work but is never recommended.
ADSE) I have to create a user on both servers (RSA) and add them to a group
that has enough permissions to get to my ibay's both called data and data1
ok this is done
===================Documentation=========================
Give both users shell access, as the user, use the program ssh-keygen to
create your encryption keys then copy the public key to the remote server
slogin to the remote server and add you public key to the file
authorized_keys, logout of remote, now you should be able to slogin to the
remote server from the local server without being prompted for your
password.
The following commands should be all you need.
a.. ssh to local.server.net, cd to ~/.ssh .....OK done
b.. ssh-keygen -t rsa [accept file name id_rsa][don't enter a passphrase]
OK done
c.. scp id_rsa.pub Ace.nefu.co.uk:.ssh/local.pub OK done have to do it bi ip
address. (172.31.4.2)
d..slogin 172.31.4.2, cat local.pub >> authorized_keys (command doesnt work)
f..so i use this to complete. slogin 172.31.4.2
cd .ssh
cat local.pub >> authorized_keys
h..But again i no joy.
What do you do to install? something is missing? has anyone got a data sheet if so can i have it?
Kind Regards
ADSE