delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/03/10:59:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: Bryan Zimmer <g91 AT baz-tech DOT com>
Reply-To: g91 AT baz-tech DOT com
Organization: BAZ-TECH.COM
To: cygwin AT cygwin DOT com
Subject: Re: sshd
Date: Wed, 3 Jul 2002 10:06:41 -0500
User-Agent: KMail/1.4.1
References: <01d601c2223c$d1a83880$7346f6cc AT baztech DOT com> <20020703103359 DOT O21857 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20020703103359.O21857@cygbert.vinschen.de>
MIME-Version: 1.0
Message-Id: <200207031006.47168.g91@baz-tech.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry for the lack of details.

I am using Win 2000 Professional. I installed Service Pack 2 last week.
/bin/bash (C:\Cygwin\bin\bash.exe) definitely exists and is executable. 
However, it shows up only with ls -l /bin/bash.exe and not just 
"/bin/bash", which surprised me. It's file permissions are 0777 
(-rwxrwxrwx). My Cygwin environment is set to the following:
"ntsec notitle strace=0x1 binmode glob".

My sshd is basically set up to accept hostbased or pubkey 
authentication. It has two keys, ssh_host_rsa_key, and 
ssh_host_dsa_key. It uses only protocol 2, never version 1. The public 
user keys are kept in %h/.ssh/authorized_keys2. Most of the "easy" sshd 
options are turned off. No RhostsRSAAuthentication, just RSA and DSA 
authentication. I had these options "Allow Users baz; Deny Users 
[A-Zac-z]*" which works in Linux, but I had to take it out for Cygwin. 
I also had to make sure the "Strict Modes" option was "no".

Until I did a partial reinstall I was always UID 544, GID 513, 
Administrators:None. For some reason I am now a regular user, user 
number 1000. I chowned the relevant files just in case but this seems 
to make no difference.

Very strange. Formerly I thought I knew something about both Cygwin and 
ssh.

Thanks for your response.

- --
Bryan A. Zimmer
g91 AT baz-tech DOT com



On Wednesday 03 July 2002 03:33 am, Corinna Vinschen wrote:
> On Tue, Jul 02, 2002 at 09:53:32PM -0500, Bryan Zimmer wrote:
> > Greetings all.
> >
> > I used to have an sshd that worked passably well. Now it is giving
> > me some strange messages, viz., "user baz is illegal because
> > /bin/bash is not an executable.
> >
> > In this case I can only log in remotely when I remove /bin/bash
> > from the /etc/passwd file. I find this strange behavior.
>
> What system, 9x or NT?  With or w/o ntsec?  What does ls -l
> /bin/bash.exe print?
>
> Corinna

- --
Bryan A. Zimmer
baz AT baz-tech DOT com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9IxMBgQpxrvF+n0ERAi8bAJ0R3g2x7AhgpJ3aT0lcKp2A+YZT7ACguyzU
FdAcEOwfbhvzTtJ1a9yFzKE=
=mBCC
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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