delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/14/15:31:43

X-Recipient: archive-cygwin AT delorie DOT 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 AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: scp and sftp commands not working on cygwin installed server
References: <818340 DOT 35446 DOT qm AT web83614 DOT mail DOT sp1 DOT yahoo DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

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/

- Raw text -


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