Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 13th April 2009, 13:28
edpatterson edpatterson is offline
Junior Member
 
Join Date: Feb 2009
Location: Florida, USA
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

It just keeps getting better and better.

I created another unpriviledged account on the source server. It has no .ssh directory. I then ran the rsync command:
rsync -avz -e "ssh -i/root/rysnc/scflf005-rsync-key" sync2@scflf001:/etc/squid/lists/ /etc/squid/lists/
It asked for the password for sync2. When I entered it the files sync'd.

The key I generated was for root on scflf005 and that is the account I issued the rsync command from. It appears it ignored the whole key thing and granted the sync based upon the sync2 password.

I then copied the passwordless public key (same one as before) to sync2@scflf001:/home/.ssh and copied it to authorized_keys (cat >> authorized_keys). Added a line to one of the lists and reran the command. It sync'd without asking for a password.

This leads me to believe that the problem for me is either in my checkrsync file or what I am prepending to the public key.

Thanks for your continued support! I'll add the peices a little at a time to see where it breaks.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52
Mirroring Website with Rsync hockeypfef HOWTO-Related Questions 1 9th March 2007 17:33
Mirroring Website with Rsync vibranze HOWTO-Related Questions 2 3rd February 2007 03:24
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17


All times are GMT +2. The time now is 16:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.