X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <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 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/