Some SSH & RSYNC help

| |

Hey everyone,

I am in need of a little help or a point in the right direction with some SSH & RSYNC stuff I'm trying.

Using CentOS 5 I am trying to automate some rsync tasks through ssh. I have CentOS5 on the destination too. I have a DSA and RSA key generated and scp'd onto the destination server. Essentially I am trying to do a host authentication to get around the password. The destination server is a production system so I can't lax much on the security or this would be much easier.

I have been trying to use some instruction from the rsync site as well as linuxquestions but I'm not making any real headway. The usernames are different for the source and destination systems but that shouldn't really matter for RSA/DSA authentication, should it?

Any help or refernces you could give me would be hot!

On another note, eventually I'll get to one of the LUG meetings. At least this month I made it to MSO but forgot my directions to Sean Kelly's. 8^p

Doyce

"only the strong of heart can win to the place of the Vision!"

IN GHOSTLY JAPAN


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Scott Dowdle's picture

What error do you get?

What error message do you get?

Since you have two different users... you need to make sure that the key is stored in the appropriate place: ~/.ssh/authorized_keys2 on both ends.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <blockquote> <b> <strike> <pre>
  • Lines and paragraphs break automatically.
  • Images can be added to this post.
More information about formatting options