delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/14/19:24:25

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Jb
5zrEpP7qbUbQvNfG+VaJOVorLnmtc1OuheulpOB4vf5Vn/AX14kwAmGgTZi7BAbr
mkLn2BnSPnTr+340o9nPJF338ddEpLaI+sALq0C/KsPGXmcX3corbHoozogNQvZV
Q/WNC9F5N/HsmUK4APDdlfSyGA2EZcvi/zs18mPPk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=IMGA06Q/
z0+XQ6XnQZUpYfCctEw=; b=askq7HkNxqLhlCQRAXb4+lHxOjKdUtORWAAKSEIC
yaVYzWzPbx1hAdMrBqgPpsa2oBDgseN2dJE7oHDy0yUn+gYXsWPZxjfa8+3H+GjC
e1VSqDP/TGOa/b1alNRVjnLbw6WXQ1gum5dV3z082w5ePVHgdIqvV27d1Za5GAgq
bUI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-yh0-f45.google.com
MIME-Version: 1.0
X-Received: by 10.236.113.141 with SMTP id a13mr16920341yhh.22.1410737042157; Sun, 14 Sep 2014 16:24:02 -0700 (PDT)
In-Reply-To: <CAJipp7famUyvOEysLofd4JEYG6ZJcOdYjAReqWOqODsP=citXA@mail.gmail.com>
References: <CAJipp7famUyvOEysLofd4JEYG6ZJcOdYjAReqWOqODsP=citXA AT mail DOT gmail DOT com>
Date: Sun, 14 Sep 2014 16:24:02 -0700
Message-ID: <CAJipp7d+mNkG0x9PpJu1A5hhUQBAdREgvXBcVt5VhFQoyOznOw@mail.gmail.com>
Subject: Fwd: Need help port forwarding with ssh and cygwin...
From: Steven Dennis <nzdreamer55 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hello,

I am having trouble using rsync and ssh from a ubuntu server.  Right
now I have cynwin64 on my windows 8.1 x64 machine.  Right now I have
no problems using the rsync command from my local machine to get files
from the ubuntu server back to my windows machine, however I would
like to have the files "pushed" from my ubuntu machine to my local
machine via an opened port over ssh.

I know the IP address of my computer running cygwin and I have set up
my router to forward a single port and a range of ports to this
machine.  I have also changed the windows firewall settings to allow
stuff in bound for these ports.  I can use my public IP address to
access my router web page so this confirms that I am using the correct
IP address.  I am just not sure if cynwin64 can be used this way.

So here is what I am having trouble with:
I ssh over the typical port (22 I think) into my ubuntu server which
is ~ 4000 miles away and I run the following command

rsync --update --ignore-existing --progress -vure 'ssh -p 29501'
/home/username/downloads/1/ /kira AT XXX DOT XXX DOT XXX DOT XXX/cygdrive/e/1

This usually gives me the following error

rsync: mkdir "/kira AT XXX DOT XXX DOT XXX DOT XXX/cygdrive/e/1" failed: No such file
or directory (2)

Thanks
-S

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019