This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]