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


No, I understand you perfectly.  The fact that you can ssh to other 
machines is inconsequential in your debugging.  You want to make sure 
that things are set up properly to allow you to ssh *into* your machine.
Regardless, there's no magic pill here.  You need to debug this and the
steps I suggested will help you do that.  It's worth the effort considering
the alternative.

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:46 PM 11/26/2001, Collin Grady wrote:
>      I think you're misunderstanding my problem.  I can ssh to anywhere
>except localhost.  The sshd is returning the /bin/bash permission denied
>when I ssh to localhost, whereas I can ssh to, say, a local campus server
>and it works. Trying to ssh back to home comp does not work, however.
>      -Collin Grady
>
>Programmers don't die, they just GOSUB without RETURN.
>
>----- 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:40 PM
>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]