X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <46EADCA3.B4AD4585@dessent.net>
Date: Fri, 14 Sep 2007 12:10:27 -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: <613006.95877.qm@web83609.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l8EJAfkS028321

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


