delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/20/18:43:54

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: <cygwin AT cygwin DOT com>
References: <A70479AEC9AB3A4CBDDAE972AA9BD774056D0B AT dellsc1420a DOT wme DOT local> <4790b28b DOT 1235640a DOT 1f2e DOT 7b29 AT mx DOT google DOT com> <001e01c859e0$a63dbf30$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <47916feb DOT 21d8480a DOT 57ed DOT 6387 AT mx DOT google DOT com> <47937857 DOT 50302 AT saic DOT com> <4793CD30 DOT 50906 AT cygwin DOT com> <4793d3f2 DOT 22e7480a DOT 629f DOT 10e6 AT mx DOT google DOT com> <4793D619 DOT 2080302 AT cygwin DOT com>
In-Reply-To: <4793D619.2080302@cygwin.com>
Subject: RE: ssh interactive shell not working
Date: Sun, 20 Jan 2008 17:42:57 -0600
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
From: "Kyle A. Dawson" <kyle DOT a DOT dawson AT gmail DOT com>
Message-ID: <4793dc8e.0580400a.7fb7.ffff84f2@mx.google.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 m0KNhdcw020637

>     If I leave out the -k, I get no prompt but I am in, I can run commands, etc.


I was meaning the -i

I search the entire computer and only found the one bash.exe, in the existing cygwin home

Here are my cases:

1) If am on the ssh server itself, all works fine, I can logon via ssh localhost or ssh myhost. Get prompt and all looks good.
2) If I logon to the ssh server from any other machine with bash -i, "ssh myhost bash -i", all works fine, I get a prompt and can run commands
3) If I logon to the ssh server from any other machine the normal was, ssh myhost, it closes connections right away
4) If I logon to the ssh server from any other machine to just run a command, it works fine.  The command runs on ssh server and shell comes back  
	ssh myhost ls -lart
      ssh myhost hostname
5) If I logon to ssh server from another computer behind the router, some subnet as server, using the server private ipaddress, 192.168.1.125, still get same issue.  So it is not a router issue.


It appears the issue is something to do with running the bash shell by default, it just does not for some reason.  I thought something was messed up with the cygwin config/install, so I deleted the dir and installed from scratch.  But I get the same errors.





--
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