Re: rsync to copy files remoteserver

This is a discussion on Re: rsync to copy files remoteserver within the Rsync forums, part of the Networking and Network Related category; --===============1874197459== Content-Type: multipart/alternative; boundary="----=_Part_22387_31642894.1207985782617" ------=_Part_22387_31642894.1207985782617 Content-Type: text/plain; charset=ISO-8859-1 ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008
sri vasulu
 
Posts: n/a
Default Re: rsync to copy files remoteserver

--===============1874197459==
Content-Type: multipart/alternative;
boundary="----=_Part_22387_31642894.1207985782617"

------=_Part_22387_31642894.1207985782617
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello Paul Slootman,

while i was using ssh from local machine to remote and vice versa,i am
getting the following error.

*error message*
*================================================= ====================*
*ssh **srinu@www.abcdefg.com* <srinu@www.abcdefg.com>* *
*Local: Bad packet length 1349676916.*
**
*================================================= ======*

*I had different ssh versions on local & remote server.is this causing the
error*.

local machine ssh version:
---------------------------------------
ssh -V

OpenSSH_4.1, OpenSSL 0.9.7e 25 Oct 2004
HP-UX Secure Shell-A.04.00.000, HP-UX Secure Shell version

remote machine ssh version
------------------------------------------
SSH Version 1.2.27 [hppa1.1-hp-hpux11.00], protocol version 1.5.
Standard version. Does not use RSAREF.

Actually i am using rsync tool to copy files from remote server to local
server,there it is required to use ssh along with rsync.

*by using putty tool i was able to ssh in to these 2 servers separately.but
when ever i was trying to use ssh from local machine to remote machime or
vice versa i am getting the above error.*
* *

could you please provide the solution/suggestion.it's very urgent.

with warmregards,
mannam srinivas


On 4/11/08, Paul Slootman <paul+rsync@wurtel.net <paul%2Brsync@wurtel.net>>
wrote:
>
> On Fri 11 Apr 2008, sri vasulu wrote:
> >
> > for the first i am trying to use rsync to copy files from remote server

> to
> > local machine.
> >
> > i am using the rsync version 3.0.1 protocol version 30 on local

> machine.
> > remote server is using rsync version 2.6.3 protocol version 28.
> >
> > i read on web that to copy files from remote server we need to update
> > username&password in the file
> > secrets file = /etc/rsyncd.scrt ,but this file is not available on my

> etc
> > directory.

>
> Only use a secrets file if you want it. Without it, there is no password
> check. Also, that secrets file = line is only relevant if you're running
> an rsync daemon. If you're using rsync over ssh (as you seem to be
> trying), then forget about rsyncd.conf.
>
> > Actually i am using the following command to copy files from remote

> server
> > to local machine.
> >
> > *$ rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp*
> > **
> > after executing the above command I am getting the following error.
> > *================================================= =============*
> > *ssh: openbsd.nixcraft.in: no address associated with name

>
> That means that ssh cannot resolve the hostname given.
> Nothing *at* *all* to do with rsync!
> First make sure you can login to that host
> with plain ssh before trying to run rsync to it.
>
>
> Paul Slootman
>


------=_Part_22387_31642894.1207985782617
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Hello <font color="#888888">Paul Slootman</font>,</div>
<div>&nbsp;</div>
<div>while i was using ssh from local machine to remote and vice versa,i am getting the following error.</div>
<div>&nbsp;</div>
<div><strong>error message</strong></div>
<div><strong>===================================== ================================</strong></div>
<div><strong>ssh&nbsp; </strong><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:srinu@www.abcdefg.com" target="_blank"><strong>srinu@www.abcdefg.com</strong></a><strong> </strong></div>
<div><strong>Local: Bad packet length 1349676916.</strong></div>
<div><strong></strong>&nbsp;</div>
<div><strong>===================================== ==================</strong></div>
<div>&nbsp;</div>
<div><strong>I had different ssh versions on local &amp; remote <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://server.is/" target="_blank">server.is</a> this causing the error</strong>.</div>
<div>&nbsp;</div>
<div>local machine ssh version:</div>
<div>---------------------------------------</div>
<div>ssh -V</div>
<div><br>OpenSSH_4.1, OpenSSL 0.9.7e 25 Oct 2004<br>HP-UX Secure Shell-A.04.00.000, HP-UX Secure Shell version</div>
<div>&nbsp;</div>
<div>remote machine ssh version</div>
<div>------------------------------------------</div>
<div>SSH Version 1.2.27 [hppa1.1-hp-hpux11.00], protocol version 1.5.<br>Standard version.&nbsp; Does not use RSAREF.</div>
<div>&nbsp;</div>
<div>Actually i am using rsync tool to copy files from remote server to local server,there it is required to use ssh along with rsync.</div>
<div>&nbsp;</div>
<div><strong>by using putty tool&nbsp; i&nbsp;was able to ssh in to these 2 servers separately.but when ever i was trying to use ssh from local machine to remote machime or vice versa i am getting&nbsp;the above&nbsp;error.</strong></div>
<div><strong>&nbsp;</strong></div>
<div>&nbsp;</div>
<div>could you please&nbsp; provide the solution/suggestion.it's very urgent.</div>
<div>&nbsp;</div>
<div>with warmregards,</div>
<div>mannam srinivas</div><span></span><br><br>
<div><span class="gmail_quote">On 4/11/08, <b class="gmail_sendername">Paul Slootman</b> &lt;<a href="mailto:paul%2Brsync@wurtel.net">paul+rsync@w urtel.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Fri 11 Apr 2008, sri vasulu wrote:<br>&gt;<br>&gt; for the first i am trying to use rsync to copy files from remote server to<br>
&gt; local machine.<br>&gt;<br>&gt; i am using the rsync&nbsp;&nbsp;version 3.0.1&nbsp;&nbsp;protocol version 30 on local machine.<br>&gt; remote server is using rsync&nbsp;&nbsp;version 2.6.3&nbsp;&nbsp;protocol version 28.<br>&gt;<br>&gt; i read on web that to copy files from remote server we need to update<br>
&gt;&nbsp;&nbsp;username&amp;password in the file<br>&gt; secrets file = /etc/rsyncd.scrt&nbsp;&nbsp;,but this file is not available on my etc<br>&gt; directory.<br><br>Only use a secrets file if you want it. Without it, there is no password<br>
check. Also, that secrets file = line is only relevant if you're running<br>an rsync daemon. If you're using rsync over ssh (as you seem to be<br>trying), then forget about rsyncd.conf.<br><br>&gt; Actually&nbsp;&nbsp;i am using the following command to copy files from remote server<br>
&gt; to local machine.<br>&gt;<br>&gt; *$ rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp*<br>&gt; **<br>&gt; after executing the above command I am getting the following error.<br>&gt; *================================================= =============*<br>
&gt; *ssh: <a href="http://openbsd.nixcraft.in">openbsd.nixcraft.in</a>: no address associated with name<br><br>That means that ssh cannot resolve the hostname given.<br>Nothing *at* *all* to do with rsync!<br>First make sure you can login to that host<br>
with plain ssh before trying to run rsync to it.<br><br><br>Paul Slootman<br></blockquote></div><br>

------=_Part_22387_31642894.1207985782617--

--===============1874197459==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--===============1874197459==--
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0