delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/09/06:06:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <875079.14766.qm@web94501.mail.in2.yahoo.com>
References: <875079 DOT 14766 DOT qm AT web94501 DOT mail DOT in2 DOT yahoo DOT com>
From: Julio Costa <costaju AT gmail DOT com>
Date: Wed, 9 Jun 2010 11:06:21 +0100
Message-ID: <AANLkTillw0litQMQ-zCi3B6b-t7nlYiPdPDFfGy26ROa@mail.gmail.com>
Subject: Re: ssh setup fails on cygwin
To: cygwin AT cygwin DOT 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

On Wed, Jun 9, 2010 at 10:36, prakash babu wrote:
> I know that cygwin 1.5 is no longer supported but since my application re=
quires ssh to be setup and =C2=A0extensively uses chmod on MS-DOS paths I w=
ant atleast the the cygwin 1.5 install and ssh setup done successfully.
>

Why don't you use the cygpath utility, like was already proposed to you?

> Hence I installed cygwin 1.5 on three windows XP machines using setup-leg=
acy.exe
>
(...)
>
> Why is this inconsistent behaviour.
> i. How do I go about debugging this issue and setup ssh(any logs to look =
into). Could this be a mounting issue

That is, at least, a mounting issue. The quick, dirty, fix is to copy
all executables from /usr/bin to /bin
Personally I wouldn't spend more time in a 1.5 installation than that
needed to 'quick, dirty, fixes' :)

> ii. Can this behaviour be because of the mirror site chosen.

not probable

> iii. Can this behaviour be because of the OS flavour, patches or the soft=
wares installed in the OS

Not this behaviour directly, but maybe the failure to achieve a
correct installation could be explained by BLODA (see
http://cygwin.com/faq/faq.using.html#faq.using.bloda)

> iv. Why does echo $SHELL on a bash shell =C2=A0display /bin/sh instead of=
 /bin/bash.

because it din't found /bin/bash (it was in /usr/bin/bash), and for
some strange reason, /bin/sh could be installed correctly, while
/bin/bash did not (or the other way around).

As from package, both are installed in /usr/bin, but if the
installation is working properly, they should have appeared in /bin,
through mounting.

___________
Julio Costa

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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