Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
rsync and plink (putty) fails, but cygwin ssh works
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bwooster47  
View profile  
 More options Dec 2 2007, 4:05 pm
Newsgroups: comp.security.ssh
From: bwooster47 <bwooste...@gmail.com>
Date: Sun, 2 Dec 2007 13:05:05 -0800 (PST)
Local: Sun, Dec 2 2007 4:05 pm
Subject: rsync and plink (putty) fails, but cygwin ssh works
I've got this working with the Cygwin rsync and Cygwin ssh - Windows
is client machine, sending data to a Linux box. Not using rsyncd on
linux, just using SSH.

So, this command, using all Cygwin commands, works fine from Windows
XP box:
c:\cygwin\bin\rsync.exe -avz -e "c:\cygwin\bin\ssh -i /cygdrive/c/
myssh.key" /cygdrive/c/home/ user@remote:/backup

Similarly, one would assume plink would work - this is from the Putty
package, but it fails with
...
opening connection using plink -v -i "\myssh.ppk" -l user remote rsync
--server -vlogDtprz . /backup
...
Started a shell/command
Unable to read from standard input: The handle is invalid.  [*** this
is the failure **]
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at /home/
lapo/packaging/tmp/rsync-2.6.9/io.c(604) [sender=2.6.9]

Full command was something like:
\cygwin\bin\rsync.exe -avz -e "plink -v -i \myssh.ppk" /cygdrive/c/
home/ user@remote:/backup

Just plink works fine:
plink -i \myssh.ppk -l user remote echo AAA
AAA

So, is this problem in the way rsync opens up the filter (looking for
stdin), or something that plink is not doing right, or something
related to Microsoft Windows?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »