X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.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@mail.gmail.com> <b583b1500903250819h102eadb9l162df88f48aabaa2@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset="us-ascii"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.71.11
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Ryan Stewart (Wed, 25 Mar 2009 10:19:45 -0500)
> On Wed, Mar 25, 2009 at 9:21 AM, Ryan Stewart <rds6235@gmail.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/

