X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <46EAE183.303D86A0@dessent.net>
Date: Fri, 14 Sep 2007 12:31:15 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: scp and sftp commands not working on cygwin installed server
References: <818340.35446.qm@web83614.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
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

Sam Snitman wrote:

> Thanks for your response.  Not sure what you mean by
> "however all of your mounts point to d:\cygwin2.
> > That's definitely not right"

It means that when scp refers to /usr/bin/ssh it will be actually be
looking for d:/cygwin2/bin/ssh.exe which -- I'm guessing -- doesn't
exist.  What is and why do you have this d:/cygwin2 directory if
apparently everything in installed in d:/cygwin?

> Unfortunately I have limited Cygwin knowledge.  Can
> you please elaborate what mounts are and about how
> to/risks of changing them to point to d:\cygwin
> instead of d:\cygwin2.  We are currently using cygwin
> for our ITG application to connect with remote servers
> and I wouldn't want to negatively affect anything.  I
> will also start looking at the documentation on mounts
> on the cygwin site.

You can change it with the mount command.  See the manpage, or run mount
-m to get a set of mount commands that if run would recreate your
current mount table (i.e. edit them.)  Alternatively, just running setup
and entering d:/cygwin for the Root Directory page should accomplish the
same thing.

Brian

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

