When I get to this step. HTML: 4 Create The Keys On mirror.example.com I enter HTML: mkdir /root/rsync ssh-keygen -t dsa -b 2048 -f /root/rsync/server2-rsync-key and get HTML: DSA keys must be 1024 bits Can someone please help. Thank you
that command worked, but it is asking for a key The command worked, but it is asking for a key when I enter this command. I did modify the urls to my setup. HTML: rsync -avz --delete --exclude=**/stats --exclude=**/error --exclude=**/files/pictures -e "ssh -i /root/rsync/mirror-rsync-key" [email protected]:/var/www/ /var/www/ It is asking me for a password. Also when I looked at the key, it is real long. Here is the key output. I run this command and edit the file as in the directions. HTML: vi /home/someuser/.ssh/authorized_keys Output of key after. HTML: command="/home/someuser/rsync/checkrsync",from="server2.mysite4webhosting.com",no-port-forwarding,no-X11-forwarding,no-pty ssh-dss AAAAB3NzaC1kc3MAAA[...]lSUom root@mirror ssh-dss AAAAB3NzaC1kc3MAAACBAMbGP5TAJ8QbHVra6dSjpaaZqjxLuYpAMZkaaIDOUEHiJmCSR1lBr+k5xgNfyZ8SR7fvviHaS0l9u7j9nM9BpeIzneZN3GdtbCWt2dMCu4YSbWcyeYugdG/QJ8Et+I+Z7VnKgolNu5gqzptvWNVAObyS6X5Vc7IQJHU5ze5qqJJtAAAAFQDEEsbqZAl02ASzOYXUuHCiJxNtiQAAAIBRHWePFarbM5lXv/TMqlPcnaie/zJRJ9kl4XNF0kKqAT+cOuWmIzrF1J+Jw1SYI0bclBD3nFEe+wWlIEQJytmpFPPqf3SAnJ90RH997ApVeYqzcwv4N1ZGo55ZJx+FUfUVn9GgtbVuTxBeCZpHxbaLqfyzrBIbVbg3s/LVojE+ygAAAIEAoAOZA6gYg8ShRh/zZnl0LuSyWV+g30uZtQNpgx8Ga/1aGT3OfMovn/vX3uOTgOrAdsivuAJPESIHMmuoQrbMIuj4ydeVw1wYm/Ba9CUZ0C8kSBCaxmtS6XUaj+vDiUnjR1kP2gDEPnAAh7foqPvMqOTN6Q6j4OtFCRcbKgXf5/E= [email protected] I see it is saying root @ serrver2. Is that the problem?
Does it ask you for a password when you remove Code: command="/home/someuser/rsync/checkrsync",from="server2.mysite4webhosting.com",no-port-forwarding,no-X11-forwarding,no-pty from the key?
Then you did something wrong in the other steps of the tutorial. Please try to configure rsync again from the beginning.