delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/26/19:50:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <EB19A8A38B497D4FA6C88EADE3A8607F125F25@cf-bay-exch-04.cacheflow.com>
From: "Downey, Nathan" <nathan DOT downey AT cacheflow DOT com>
To: "'Larry Hall (RFK Partners, Inc)'" <lhall AT rfk DOT com>,
Collin Grady
<cgrady AT willamette DOT edu>, Cygwin ML <cygwin AT cygwin DOT com>
Subject: RE: SSH/Bash error
Date: Mon, 26 Nov 2001 16:45:19 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Actually this sounds like you need to:

chmod a+x /bin/bash

When you login into a sshd server its looks in the /etc/passwd (usually)
there is a shell
that gets associated with your login (in the case /bin/bash). Make sure that
/bin/bash
is executable for everyone on your system.

-Nathan

-----Original Message-----
From: Larry Hall (RFK Partners, Inc) [mailto:lhall AT rfk DOT com]
Sent: Monday, November 26, 2001 4:41 PM
To: Collin Grady; Cygwin ML
Subject: Re: SSH/Bash error


OK, so do you have /bin/bash in your environment before invoking ssh.
You'll probably need to invoke ssh with its debugging turned on (-v 
see the ssh man page) to see where it's going wrong.  I assume you 
read /usr/doc/Cygwin/openssh-*.README and followed all the instructions
there before attempting to use openssh?  If not, go here and read this 
too.

Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



At 07:35 PM 11/26/2001, Collin Grady wrote:
>      Thats the problem, I can't even get into ssh.
>
>[Administrator AT MAGUS-LAPTOP ~]$ ssh localhost
>Administrator AT localhost's password:
>/bin/bash: Permission denied
>Connection to localhost closed.
>      -Collin Grady
>
>No one is listening until you make a mistake.
>
>----- Original Message ----- 
>From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
>To: "Collin Grady" <cgrady AT willamette DOT edu>; "Cygwin ML" <cygwin AT cygwin DOT com>
>Sent: Monday, November 26, 2001 4:30 PM
>Subject: Re: SSH/Bash error
>
>
> > OK, so compare these results with what you get via ssh.  My guess is 
> > that /bin/bash doesn't exist in that environment.  If it does, you may
> > need to review your ssh configuration...
> > 
> > Larry Hall                              lhall AT rfk DOT com
> > RFK Partners, Inc.                      http://www.rfk.com
> > 838 Washington Street                   (508) 893-9779 - RFK Office
> > Holliston, MA 01746                     (508) 893-9889 - FAX


--
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/

--
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