delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/18/08:09:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT sources DOT redhat DOT com>
References: <A70479AEC9AB3A4CBDDAE972AA9BD774056D02 AT dellsc1420a DOT wme DOT local> <4790a389 DOT 0575480a DOT 024f DOT ffff9022 AT mx DOT google DOT com>
Subject: RE: ssh interactive shell not working
Date: Fri, 18 Jan 2008 13:09:16 -0000
Message-ID: <000c01c859d3$55a0eb40$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <4790a389.0575480a.024f.ffff9022@mx.google.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m0ID9g33002837

On 18 January 2008 13:03, Kyle A. Dawson wrote:

> I had cygwin and ssh working on windows 2003 and then it all stopped.   I
> get it working again by re-installing cygwin and ssh.  The only issue is
> that you cannot login to ssh with interactive shell.  You can run commands
> via ssh but not get a prompt.  For example this will work:
> 
> ssh myhost ps -ef
> 
> That works.  But if you run this:
> 
> ssh myhost
> Connection to myhost closed.
> 
> It just opens then closes.
> 
> Anyone know why I cannot get a remote shell?

  Bug in your .bashrc script, perhaps?  I forget the exact details (see man
page for full info), but some of the startup scripts are always run by the
shell firing up, but some are only run when you open an interactive login
shell.

  Try "ssh -v -v -v -v -v myhost" and see if the debugging info sheds any
light on the situation.



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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