Let me start by saying that until about a week ago i had never touched a Linux server, so be gentle and spell everything out for me
I have a webiste that i am moving over to cloud servers on rackspace. They will be loadbalanced, so i require that they sync. I understand that there needs to be a master.
servers:- Centos (for reference call them S01 and S02, S01=master, S02=Slave)
AFP firewall installed.
SSH changed to port 8888 in /etc/ssh/sshd_config
root disabled from SSH in /etc/ssh/sshd_config
I then followed instructions from
https://community.rackspace.com/products/f/18/t/158
however after step
Next, from the master server, ssh into each slave server. It should ask you if you accept the key. say "yes". It should then just let you in with no password.
It came up with the "yes", but i still had to enter a password.
other wise everything followed (with the exception that i changed the path and server IP in /etc/lsyncd.lua to our details).
now if i look at /var/log/lsyncd/lsyncd.log
i get this
Wed May 8 00:07:58 2013 Normal: recursive startup rsync: /home/mysite/public_html/ -> 10.142.10.11:/home/mysite/public_html/
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
Wed May 8 00:07:59 2013 Error: Temporary or permanent failure on startup of "/home/mysite/public_html/". Terminating since "insist" is not set.
Can anyone give me some direction?
Can i just send the password across as well? and if so, how?
Thanks in advance.