Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <013401c176dd$a6fea200$b4a1689e@MagusLaptop> From: "Collin Grady" To: "Downey, Nathan" , "Cygwin ML" References: Subject: Re: SSH/Bash error Date: Mon, 26 Nov 2001 16:51:29 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 [Administrator AT MAGUS-LAPTOP /bin]$ ls bash.exe -rwxr-xr-x 1 Administ None 479232 Nov 16 15:34 bash.exe bash has proper perms. -Collin Grady Q: What do you get when you cross Dracula with a used car dealer? - A: autoexec.bat ----- Original Message ----- From: "Downey, Nathan" To: "'Larry Hall (RFK Partners, Inc)'" ; "Collin Grady" ; "Cygwin ML" Sent: Monday, November 26, 2001 4:45 PM Subject: 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 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)" > >To: "Collin Grady" ; "Cygwin ML" > >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/