X-Spam-Check-By: sourceware.org Message-ID: <4500D2ED.5060009@cygwin.com> Date: Thu, 07 Sep 2006 22:18:21 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Message: '/bin/bash: Permission denied' accessing server via ssh References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 alexandre oliveira wrote: > I've installed cygwin version: cygrunsrv V1.16, Apr 27 2006 on Windows > 2003 Server. > I've used: ssh-host-config -y. > The ssh was installed, the service is up and running, as follows: > -------------------------------- > $ cygrunsrv.exe -Q sshd > Service : sshd > Display name : CYGWIN sshd > Current State : Running > Controls Accepted : Stop > Command : /usr/sbin/sshd -D > -------------------------------- > > The ssh version is: > $ ssh -V > OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005 > > > Follow is the result of cygchek -c -v -s: We ask that you *attach* rather than append/embed this information. It makes searching the archives for terms common in cygcheck output more fruitful. > > C:\cygwin / system textmode > C:\cygwin/bin /usr/bin system textmode > C:\cygwin/lib /usr/lib system textmode > . /cygdrive system textmode,cygdrive I'd highly recommend binary mounts. > 1763k 2006/01/20 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=2006/1/20 16:28 > Cygwin DLL version info: > DLL version: 1.5.19 This is out of date. You may want to consider upgrading. > When I try to log on using the password for cyguser, I receive the message: > /bin/bash: Permission denied > > The permissons for file /bin/bash are: > $ ls -l /bin/bash > -rwxrwxrwx+ 1 uatagnt Users 461312 Apr 29 18:38 /bin/bash > > What do I have to do to make that work? I'd recommend looking at debug output. It's easiest to start with the client, though often not terribly helpful. If you don't see anything that keys you into the problem, you can set up the server as debug too, which gives better information often but is a little bit more effort. See 'man ssh' and 'man sshd' for info on getting debug output. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/