www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/20/11:36:38

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-Id: <47937857.50302@saic.com>
Date: Sun, 20 Jan 2008 11:35:35 -0500
From: Roger Wells <ROGER DOT K DOT WELLS AT saic DOT com>
Reply-To: roger DOT k DOT wells AT saic DOT com
User-Agent: Thunderbird 2.0.0.9 (X11/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ssh interactive shell not working
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>
In-Reply-To: <47916feb.21d8480a.57ed.6387@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

FWIW,
I seem to be having the same problem.  Last week I reinstalled Windows 
XP, SP2 & Cygwin.  Since then I can't ssh into my Windows box.  I also 
observed the:

debug2: channel 0: rcvd eof



but haven't had the chance to track it down.  Prior to the 
re-installation exercise it was perfect for at least the last couple of 
years.  Needless to say I am watching this thread with interest.  Let me 
know if I can send anything along.

but haven't had the chance to track it down.  Needless to say I am watching this thread with interest.

Kyle A. Dawson wrote:
> That command does not work
>
> $ ssh -v -v -v -v -v myhost --login -i -x
> OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007
> ssh: unknown option -- -
> usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
>            [-D [bind_address:]port] [-e escape_char] [-F configfile]
>            [-i identity_file] [-L [bind_address:]port:host:hostport]
>            [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
>            [-R [bind_address:]port:host:hostport] [-S ctl_path]
>            [-w local_tun[:remote_tun]] [user@]hostname [command]
>
>
> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of
> Dave Korn
> Sent: Friday, January 18, 2008 8:45 AM
> To: cygwin AT cygwin DOT com
> Subject: RE: RE: ssh interactive shell not working
>
> On 18 January 2008 14:07, Kyle A. Dawson wrote:
>
>   
>> Ok, here is the output from the debug
>>
>> $ ssh -v -v -v -v -v myhost
>>
>> OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007
>> debug2: ssh_connect: needpriv 0
>>     
>
>   Doh.  Sorry, my fault - that doesn't really show us enough, although it
> does
> show...
>
>
>   
>> debug3: tty_make_modes: 93 0
>> debug2: channel 0: request shell confirm 0
>> debug2: fd 3 setting TCP_NODELAY
>> debug2: callback done
>> debug2: channel 0: open confirm rwindow 0 rmax 32768
>> debug2: channel 0: rcvd adjust 2097152
>>     
>
>   ^^^^^^^^^^ that at this point, you were successfully connected, and ...
>
>   
>> debug2: channel 0: rcvd eof
>>     
>
>   ^^^ immediately afterward the other end sent an EOF and closed the
> channel,
> for no obvious reason.
>
>
>   
>> The client has not changed at all and worked before, I have many clients
>> that were working, now all stopped.  So I think it is on the server side.
>>     
>
>   Agreed, it's the startup scripts on the server side I was talking about,
> but
> my commandline didn't turn on bash debugging as well as ssh debugging.
>
>   Please try again with:
>
> $ ssh -v -v -v -v -v myhost bash --login -i -x
>
> and we should see your bash startup scripts running in the debug output.
>
>     cheers,
>       DaveK
>   

-- 
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger DOT k DOT wells AT saic DOT com


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