LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-06-2004, 02:04 PM   #1
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 457

Rep: Reputation: 48
Copying from Slackware 10 to Debian Sarge using rsync


I am an experienced Linux user who has installed Slackware on a machine for the first time since version 2.6. I have used rsync for a few years to copy information from one machine to another. I was copying from Debian to Slackware with no problems (when I was signed on to Slackware). The other day I was signed on to the Debian box and did tried to rsync from Slackware to Debian. I was prompted for a password by Slackware. The specific account has no password on it. Normally I would have modified some policies in pam.d to allow passwordless actions. Slackware 10 does not seem to use Pam.d. I can ftp to and from Slackware without password problems. Can someone suggest what else I can try?
 
Old 10-06-2004, 02:14 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
try rsync -e ssh and play with the ssh public keys to not use password, works well
 
Old 10-06-2004, 02:16 PM   #3
christhom
Member
 
Registered: Sep 2004
Distribution: Debian sarge/sid
Posts: 41

Rep: Reputation: 15
not sure if it'll help but...are you using rsh or ssh as the rsync pipe? If it's ssh, make sure there are no either no passwords on the keys (not recommended) or your ssh-agent is holding you key (ssh-add). I've had quirks with that. Also, are the ssh versions the same (i.e. commercial vs openssh). I know debian uses openssh but dunno about slack. I've had major headaches with suse still using commercial ssh (ugh!).

strange though. if you can ssh without dramas from debian box to slack box, you should be able to rsync without problems, because it just pipes through SSH IIRC (rsync -e ssh).

just stabs in the dark...
 
Old 10-06-2004, 02:20 PM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Well for me rsync -e ssh works well, I rsync a Mac OSX machine to a Slackware one without any problem this way

[edit]
I followed this great tutorial
http://www.linuxquestions.org/questi...ticle&artid=80

Last edited by Cedrik; 10-06-2004 at 02:25 PM.
 
Old 10-06-2004, 03:31 PM   #5
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 457

Original Poster
Rep: Reputation: 48
I had seen references to the use of ssh with rsync, and judging from the responses here it should work. I guess implicit though, was trying to understand exactly what was happening. I have set up the machines so that I can rlogin from one to another, with no password being requested; the same with telnet, the same with ftp. Why is the password prompt being requested, and rejected when I just press the enter key. Thank you all for your suggestions.
 
Old 10-07-2004, 10:17 AM   #6
christhom
Member
 
Registered: Sep 2004
Distribution: Debian sarge/sid
Posts: 41

Rep: Reputation: 15
I think the devil might be in the detail here. are you using .rhosts files or something? that's the easiest way. also note that rlogin and rsh are slightly different things, although in principle rsh should log you in using rlogin if you don't specify a command. At least, that's how things *used* to work. I don't even have bona fide rlogin/rsh/rcp/rexec commands anymore, just symlinks to ssh and friends.

Since its waaay more secure anyway, have you tried going down the ssh route? unless you're transferring *huge* amounts of data, you shouldn't be bothered too much by the encryption overhead.

I'm stumped...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Sarge 3.1 brisde Linux - Hardware 3 08-31-2005 03:45 PM
Debian sarge phoenix_wolf Linux - Newbie 4 12-05-2004 04:42 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM
Slackware Current using rsync equilibrium Slackware 5 08-08-2004 01:50 PM
rsync and slackware-current nikko Slackware 13 06-07-2004 09:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration