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 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/