This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: File not found with scp
* 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/