This is the mail archive of the cygwin@cygwin.com 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: SSH/Bash error


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@rfk.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@rfk.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@MAGUS-LAPTOP ~]$ ssh localhost
>Administrator@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@rfk.com>
>To: "Collin Grady" <cgrady@willamette.edu>; "Cygwin ML" <cygwin@cygwin.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@rfk.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/


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