delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/25/09:22:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 25 Mar 2009 09:21:59 -0500
Message-ID: <b583b1500903250721u2ed57e21o4f99348b8aa6d852@mail.gmail.com>
Subject: File not found with scp
From: Ryan Stewart <rds6235 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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

I'm trying to use scp to copy a remote file to a local directory, and
it's telling me the file isn't found. The file is there, I can connect
and see it via ssh, and I can also use both ssh and scp with no
problem in the other direction. i.e From computer A to computer B, ssh
works but not scp. From computer B to computer A, both ssh and scp
work fine.

Here's what I did on computer A (D01843), where scp fails:

ryan DOT stewart AT D01843 ~
$ scp 10.6.104.232:/home/ryan/foo .
ryan DOT stewart AT 10 DOT 6 DOT 104 DOT 232's password:
scp: /home/ryan/foo: No such file or directory

ryan DOT stewart AT D01843 ~
$ ssh 10.6.104.232
ryan DOT stewart AT 10 DOT 6 DOT 104 DOT 232's password:
Last login: Wed Mar 25 09:06:12 2009 from desktop

ryan DOT stewart AT DL03226 ~
$ cat /home/ryan/foo
hi there

Does anyone have a clue about this?

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

- Raw text -


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