Can't rsync to cr.openjdk.java.net
John Coomes
John.Coomes at sun.com
Tue Aug 18 17:23:31 PDT 2009
Martin Buchholz (martinrb at google.com) wrote:
> On Tue, Aug 18, 2009 at 17:12, Kelly O'Hair <Kelly.Ohair at sun.com> wrote:
>
> > When I use rsync I usually use
> > rsync --rsh=ssh
> >
> > Can you try that?
> >
>
> I did try that - no luck.
> Not that you would expect it to work,
> since --rsh is the long form of "-e",
> and that's exactly what cr is complaining about.
>
> I suspect someone tightened up the security on cr's sshd somehow.
This happened to me some months ago. With Tim's help, we discovered I
had to add --protocol=29 because my rsync was newer than the one on
cr.openjdk.java.net.
-John
> > -kto
> >
> > Martin Buchholz wrote:
> >
> >> Suddenly, rsync to cr.openjdk.java.net <http://cr.openjdk.java.net> is
> >> failing mysteriously.
> >>
> >>
> >> $ rsync -av /home/martinrb/crhg/webrevs/openjdk7/juc-tests/
> >> cr:webrevs/openjdk7/juc-tests/
> >>
> >> insecure -e option not allowed.
> >> This account is restricted by rssh.
> >> Allowed commands: scp sftp rsync
> >>
> >> If you believe this is in error, please contact your system administrator.
> >>
> >> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> >> rsync error: error in rsync protocol data stream (code 12) at io.c(632)
> >> [sender=3.0.4]
> >>
> >> ----
> >>
> >> I see that I have a RSYNC_RSH=ssh environment variable, but unsetting it
> >> has no effect.
> >>
> >> $ (unset RSYNC_RSH; /usr/bin/rsync -av
> >> /home/martinrb/crhg/webrevs/openjdk7/juc-tests/ martin at cr.openjdk.java.net:
> >> webrevs/openjdk7/juc-tests/)
> >>
> >> insecure -e option not allowed.
> >> ...
> >>
> >> ----
> >>
> >> Martin
> >>
> >
More information about the jdk7-dev
mailing list