Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-06-2004, 02:04 PM
|
#1
|
Member
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 457
Rep:
|
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?
|
|
|
10-06-2004, 02:14 PM
|
#2
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
try rsync -e ssh and play with the ssh public keys to not use password, works well
|
|
|
10-06-2004, 02:16 PM
|
#3
|
Member
Registered: Sep 2004
Distribution: Debian sarge/sid
Posts: 41
Rep:
|
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...
|
|
|
10-06-2004, 02:20 PM
|
#4
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
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.
|
|
|
10-06-2004, 03:31 PM
|
#5
|
Member
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 457
Original Poster
Rep:
|
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.
|
|
|
10-07-2004, 10:17 AM
|
#6
|
Member
Registered: Sep 2004
Distribution: Debian sarge/sid
Posts: 41
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 11:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|