rsync between windows Opensolaris failures

View: New views
5 Messages — Rating Filter:   Alert me  

rsync between windows Opensolaris failures

by Harry Putnam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can anyone tell me what is wrong in this picture with error output:
 rsync -nvviirp --inplace harry@harvey:/cygdrive/c/Documents\ And\ Settings ./docs_settings_$(dtf)
opening connection using ssh harvey -l harry rsync --server --sender -vvnpr --inplace . "/cygdrive/c/Documents And Settings"
harry@harvey's password:
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(61)
 [receiver=2.6.9]
=========================================

A strait ssh to reader@harvey succeeds but has this output (once past
passwd):

=========================================
[...]
harry@harvey's password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password)
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: channel request 0: env
debug2: Sent request for environment variable LANG=en_US.UTF-8
debug1: channel request 0: pty-req
debug2: x11_get_proto: /usr/openwin/bin/xauth  list :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: x11-req
debug1: channel request 0: shell
debug1: fd 5 setting TCP_NODELAY
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
Last login: Wed Jul  8 12:16:27 2009 from zfs.local.lan
/cygdrive/c/users/harry




--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync between windows Opensolaris failures

by Jan-Benedict Glaw :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-07-08 12:21:55 -0500, Harry Putnam <reader@...> wrote:

> Can anyone tell me what is wrong in this picture with error output:
>  rsync -nvviirp --inplace harry@harvey:/cygdrive/c/Documents\ And\ Settings ./docs_settings_$(dtf)
> opening connection using ssh harvey -l harry rsync --server --sender -vvnpr --inplace . "/cygdrive/c/Documents And Settings"
> harry@harvey's password:
> protocol version mismatch -- is your shell clean?
> (see the rsync man page for an explanation)
> rsync error: protocol incompatibility (code 2) at compat.c(61)
>  [receiver=2.6.9]
> =========================================
>
> A strait ssh to reader@harvey succeeds but has this output (once past
> passwd):
[...]

Please try:

ssh reader@harvey true | xxd

There should be no output at all. If there is, your shell is not
clean, as rsync said. (That is, there might be something like a
greeting message in non-interactive mode.)

MfG, JBG

--
      Jan-Benedict Glaw      jbglaw@...              +49-172-7608481
Signature of:                     Eine Freie Meinung in einem Freien Kopf
the second  :                   für einen Freien Staat voll Freier Bürger.


--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

signature.asc (204 bytes) Download Attachment

Re: rsync between windows Opensolaris failures

by Harry Putnam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jan-Benedict Glaw <jbglaw@...> writes:

> Please try:
>
> ssh reader@harvey true | xxd
>
> There should be no output at all. If there is, your shell is not
> clean, as rsync said. (That is, there might be something like a
> greeting message in non-interactive mode.)

Thanks... turned out to be an echo of $HOME in .bashrc from sometime
back when I couldn't get HOME set correctly.

But there is also a `last login' message.... that apparently doesn't
cause any problems... since rsync works now.  I see the `last login'
message if I do a straight ssh harry@harvey

How does that message skate by but my echo of $HOME causes failure.
Is the last login in stderr maybe?

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync between windows Opensolaris failures

by Paul Slootman-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed 08 Jul 2009, Harry Putnam wrote:
>
> But there is also a `last login' message.... that apparently doesn't
> cause any problems... since rsync works now.  I see the `last login'
> message if I do a straight ssh harry@harvey

Do you see it with Jan-Benedict's suggestion of "ssh harry@harvey true"?
The last login message should only be given in an interactive login, not
when a command is given.


Paul
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync between windows Opensolaris failures

by Harry Putnam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul Slootman <paul+rsync@...> writes:

> On Wed 08 Jul 2009, Harry Putnam wrote:
>>
>> But there is also a `last login' message.... that apparently doesn't
>> cause any problems... since rsync works now.  I see the `last login'
>> message if I do a straight ssh harry@harvey
>
> Do you see it with Jan-Benedict's suggestion of "ssh harry@harvey true"?
> The last login message should only be given in an interactive login, not
> when a command is given.

Ahh I see now.  I check with Jan-B's technique and saw output.
Corrected the echo and just assumed the last login was still there.
Didn't think to check again with xxd.  But, no, nothing is output now.
Thanks.

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html