LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 01:04 PM   #1
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 13.1,12.1,12.2; Debian Sqeeze; Centos 5,6
Posts: 253

Rep: Reputation: 34
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, 01:14 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
try rsync -e ssh and play with the ssh public keys to not use password, works well
 
Old 10-06-2004, 01: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, 01:20 PM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
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 01:25 PM.
 
Old 10-06-2004, 02:31 PM   #5
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 13.1,12.1,12.2; Debian Sqeeze; Centos 5,6
Posts: 253

Original Poster
Rep: Reputation: 34
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, 09: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 02:45 PM
Debian sarge phoenix_wolf Linux - Newbie 4 12-05-2004 03:42 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Slackware Current using rsync equilibrium Slackware 5 08-08-2004 12:50 PM
rsync and slackware-current nikko Slackware 13 06-07-2004 08:49 AM


All times are GMT -5. The time now is 04:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration