X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <875079.14766.qm@web94501.mail.in2.yahoo.com> Date: Wed, 9 Jun 2010 15:06:46 +0530 (IST) From: prakash babu Subject: ssh setup fails on cygwin To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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 I know that cygwin 1.5 is no longer supported but since my application requires ssh to be setup and extensively uses chmod on MS-DOS paths I want atleast the the cygwin 1.5 install and ssh setup done successfully. Hence I installed cygwin 1.5 on three windows XP machines using setup-legacy.exe First Machine(Working) ======================= i. Cygwin install was successful. ii. All binaries installed in C:\cygwin\bin iii. Cygwin.bat working fine iv. When I invoke C:\cygwin\bin\bash.exe and run echo $SHELL it displays /bin/bash v. ssh-host-config works fine and sshd daemon starts successfully Second and Third Machine(not working) =================================== i. Cygwin install was successful ii. All binaries except ash.exe and cygrunsrv.exe got installed in C:\cygwin\usr\bin instead of C:\cygwin\bin (ash.exe and cygrunsrv.exe got installed in C:\cygwin\bin ). iv. Cygwin.bat execution fails(exits on invocation) v. When I invoke C:\cygwin\usr\bin\bash.exe and run echo $SHELL it displays /bin/sh vi. ssh-host-config fails with error "bash: ./ssh-host-config: /bin/bash: bad interpreter: No such file or directory" 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 ii. Can this behaviour be because of the mirror site chosen. iii. Can this behaviour be because of the OS flavour, patches or the softwares installed in the OS iv. Why does echo $SHELL on a bash shell display /bin/sh instead of /bin/bash. thanks in advance, Prakash -- 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