Article View: news.software.nntp
Article #81750Re: Authentication for rsync over ssh failing
From: John F. Morse
Date: Wed, 05 Aug 2009 01:50
Date: Wed, 05 Aug 2009 01:50
43 lines
2932 bytes
2932 bytes
John F. Morse wrote: <snip> > One caveat that bothers me from what I remember during my first > encounter with rsync a few years ago, is where it is stated rsync could > not copy files between two remotes. The rsync(1) man page states: > > GENERAL > Rsync copies files either to or from a remote host, or locally > on the current host > (it does not support copying files between two remote hosts). > > I understand this to mean I cannot run rsync on computer A to copy files > from computer B to computer C, such as: > > "news@A:~/.ssh rsync -avz news@B:/var/spool/news/testfile > news@C:/var/spool/news/testfile" > > I do not think the restriction applies when I connect, via ssh, from > computer A to computer C, and run rsync on computer C to connect to > computer B to copy files from B to C. > > But there may be some security built into rsync that is prohibiting > copying when the controlling is from a remote PC, in this case an > incoming ssh session from computer A. I don't know. > > If you (or any other reader) can verify that it is indeed possible to > rsync from a remote computer, while running rsync in a ssh session from > a third computer, then I can go to the Apache server, plug in a monitor > and keyboard, and try the test there. > > If this is indeed the problem, then after a successful test (from apache > with a monitor and keyboard), the rsync should be able to work with a > cron job on apache (since that would be "local"). The test mentioned above, from a local console, indicates that the problem still exists. -- John
Technical Details
Message-ID:
<h5aoi1$c0t$1@optima5.xanadu-bbs.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mailReferences:
<h58ftm$ndc$1@optima5.xanadu-bbs.net> <80ocqwqgiy.fsf@banana.shacknet.nu> <h58lfi$oq5$1@optima5.xanadu-bbs.net> <80d47cxdyr.fsf@banana.shacknet.nu> <h5a6rs$76m$1@optima5.xanadu-bbs.net>Show Full Headers
Complete Article Headers
Message-ID: <h5aoi1$c0t$1@optima5.xanadu-bbs.net> Subject: Re: Authentication for rsync over ssh failing Date: Tue, 04 Aug 2009 20:50:57 -0500 From: "John F. Morse" <john@example.invalid> References: <h58ftm$ndc$1@optima5.xanadu-bbs.net> <80ocqwqgiy.fsf@banana.shacknet.nu> <h58lfi$oq5$1@optima5.xanadu-bbs.net> <80d47cxdyr.fsf@banana.shacknet.nu> <h5a6rs$76m$1@optima5.xanadu-bbs.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 43 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: optima5.xanadu-bbs.net 1249437057 12317 192.168.89.210 (5 Aug 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Wed, 5 Aug 2009 01:50:57 +0000 (UTC) User-Agent: Thunderbird 2.0.0.22 (X11/20090608) In-Reply-To: <h5a6rs$76m$1@optima5.xanadu-bbs.net> X-Enigmail-Version: 0.96.0