X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@sources.redhat.com>
References: <A70479AEC9AB3A4CBDDAE972AA9BD774056D02@dellsc1420a.wme.local> <4790a389.0575480a.024f.ffff9022@mx.google.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
Content-Type: text/plain; 	charset="iso-8859-1"
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <4790a389.0575480a.024f.ffff9022@mx.google.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
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/


