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

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: UJ_gI1MVM1lC3JpiwVQglCifowcAC3LJHxkxQPUkhUrva_X_wDQs4N5CtPdV4PW_XVF1g9iade4Wzk2qKiB8do_YFNl2k7OSEngmqPkSTS_FrydVGBQ-
Date: Fri, 14 Sep 2007 12:22:43 -0700 (PDT)
From: Sam Snitman <ssnitman AT yahoo DOT com>
Subject: Re: scp and sftp commands not working on cygwin installed server
To: cygwin AT cygwin DOT com
In-Reply-To: <46EADCA3.B4AD4585@dessent.net>
MIME-Version: 1.0
Message-ID: <818340.35446.qm@web83614.mail.sp1.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Brian,

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

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.

Thanks,
Sam
--- Brian Dessent <brian AT dessent DOT net> wrote:

> Sam Snitman wrote:
> 
> > I am trying to use command line scp and sftp on a
> > Windows NT 5.2 server that has cygwin installed. 
> When
> > I enter the ‘scp’ command or the 'sftp' command,
> it
> > gives me the usage as if they are installed,
> however,
> > when I try to connect to a remote server using the
> > command ‘scp filename1 userid AT hostname:filename2’,
> it
> > returns the message:
> > 
> > /usr/bin/ssh: No such file or directory
> > lost connection
> 
> Those commands require a working ssh client to
> function.  They are not
> standalone.
> 
> > Same for sftp command.  I can find scp.exe and
> > sftp.exe in D:\cygwin\bin.  Can anyone give me
> some
> > direction on how to trouble-shoot this?  I have
> > attached the results of cygcheck -v -s -r.
> 
> Your cygcheck output shows that you have
> d:\cygwin\bin in the PATH,
> however all of your mounts point to d:\cygwin2. 
> That's definitely not
> right.
> 
> 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/
> 
> 


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