delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/25/10:53:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: File not found with scp
Date: Wed, 25 Mar 2009 16:52:54 +0100
Lines: 20
Message-ID: <gqdk1b$4f1$1@ger.gmane.org>
References: <b583b1500903250721u2ed57e21o4f99348b8aa6d852 AT mail DOT gmail DOT com> <b583b1500903250819h102eadb9l162df88f48aabaa2 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.71.11
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

* Ryan Stewart (Wed, 25 Mar 2009 10:19:45 -0500)
> On Wed, Mar 25, 2009 at 9:21 AM, Ryan Stewart <rds6235 AT gmail DOT com>
> wrote:
> > 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.
> [...]
> 
> I found the problem. When I use scp--from computer A to computer B
> only--my home isn't c:\cygwin\home\ryan, but c:\Program
> File\Git\home\ryan. ???

Why do you think it is?

> c:\cygwin\home\ryan is my home directory on both computer A and B in
> normal bash shells and also when I ssh from one to the other. Why is
> scp behaving differently?

Check /etc/profile for details on how HOME is set...

Thorsten


--
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