This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Message: '/bin/bash: Permission denied' accessing server via ssh


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]