IPB

Welcome Guest ( Log In | Register )

 Forum Rules 
UMI PerformanceBlaine Fabrication.comUnbalanced EngineeringHotpart.comSolo Performance
> Any Linux Admins?, rsync question
CJ-TA
post Sep 15 2006, 09:01 PM
Post #1


Advanced Member
**

Group: Advanced Members
Posts: 384
Joined: 2-October 05
From: San Antonio, Tx
Member No.: 905



This is a smidge over my head in Linux.

I have 2 boxes, both have disabled password authentication for use with putty.

I'm trying to rsync two servers:

From my backup box:

rsync -e ssh -avz --delete --stats --progress user@server:/path /path

That has worked forever (IMG:http://www.frrax.com/rrforum/style_emoticons/default/tongue.gif)

Now that I have disabled password auth, I'm getting this:

Permission Denied (publickey, gssapi-with-mic)

How do I get my putty private/public keys to work with rsync between two servers with pass auth disabled with my putty keys?

This post has been edited by CJ-TA: Sep 15 2006, 09:28 PM
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
RedHardSupra
post Sep 16 2006, 12:50 AM
Post #2


Advanced Member
**

Group: Advanced Members
Posts: 452
Joined: 12-January 04
From: Charleston, SC
Member No.: 121



depends how you're trying to do it. do you wanna do rsh-over-ssh or do you want a standalone rsh? if you wanna do it over ssh, then you gotta get passwordless ssh logins to work first, there's plenty of writeups on that, best ones are on ibm's site.

standalone rsh is much easier, you make your own password file, and just go against that. the bad part is that i don't think transmissions are encoded, but the good part is that it's completely separate so you don't have to update it every time you gotta change the password.
Go to the top of the page
 
+Quote Post
CJ-TA
post Sep 16 2006, 01:21 AM
Post #3


Advanced Member
**

Group: Advanced Members
Posts: 384
Joined: 2-October 05
From: San Antonio, Tx
Member No.: 905



QUOTE (RedHardSupra @ Sep 15 2006, 07:50 PM) *
depends how you're trying to do it. do you wanna do rsh-over-ssh or do you want a standalone rsh? if you wanna do it over ssh, then you gotta get passwordless ssh logins to work first, there's plenty of writeups on that, best ones are on ibm's site.

standalone rsh is much easier, you make your own password file, and just go against that. the bad part is that i don't think transmissions are encoded, but the good part is that it's completely separate so you don't have to update it every time you gotta change the password.


I have the two servers connecting now, but, I'm now being prompted for the rsync password for my RSA key.

I had it working with passwordless authentication, but, since I've turned off pass-auth, the passwordless rsync, syncs, are now asking for passwords.

I'm still playing with it.
Go to the top of the page
 
+Quote Post

Posts in this topic
CJ-TA   Any Linux Admins?   Sep 15 2006, 09:01 PM
Eugenio_SS   do you have a public key ? if so make sure you cop...   Sep 15 2006, 09:40 PM
CJ-TA   QUOTE (Eugenio_SS @ Sep 15 2006, 04:40 PM...   Sep 15 2006, 09:42 PM
Eugenio_SS   there is also the file known_hosts under the .ssh ...   Sep 15 2006, 09:47 PM
CJ-TA   Got it.. I guess I was making it more complex th...   Sep 15 2006, 10:17 PM
Eugenio_SS   i'm assuming you made it work then. btw, i...   Sep 16 2006, 12:11 AM
RedHardSupra   depends how you're trying to do it. do you wa...   Sep 16 2006, 12:50 AM
CJ-TA   QUOTE (RedHardSupra @ Sep 15 2006, 07:50 ...   Sep 16 2006, 01:21 AM
Eugenio_SS   i use ssh only... rsh is   Sep 16 2006, 12:53 AM
RedHardSupra   blah, replace all my previous rsh with rsync...lon...   Sep 16 2006, 01:27 AM
Eugenio_SS   QUOTE (RedHardSupra @ Sep 15 2006, 09:27 ...   Sep 17 2006, 07:43 PM

« Next Oldest · General Discussion · Next Newest »
 

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 20th June 2025 - 11:24 PM