delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/07/10:30:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20110307135144.GD18640@calimero.vinschen.de>
References: <AANLkTikoc65x=AhffKzKWZpyZ-AaHH1rmh_ppG5DjU1w AT mail DOT gmail DOT com> <4D6E7D6A DOT 30300 AT gmail DOT com> <AANLkTi=38joOj0fcnvzdGPbpkfD_jHkkig4QfkxUpTJC AT mail DOT gmail DOT com> <20110303093450 DOT GA16272 AT calimero DOT vinschen DOT de> <AANLkTi=8V+Jw5m2_Ra4SY0ADmw2Fo5bCu6KNytJBA_G7 AT mail DOT gmail DOT com> <20110307134057 DOT GB18640 AT calimero DOT vinschen DOT de> <20110307135144 DOT GD18640 AT calimero DOT vinschen DOT de>
Date: Mon, 7 Mar 2011 10:29:44 -0500
Message-ID: <AANLkTikCQxhVUoqUFar9=G1zDj_5bV9osw2k=FP5e1Og@mail.gmail.com>
Subject: Re: ssh ... PTY allocation request failed on channel 0
From: Mirko Vukovic <mirko DOT vukovic AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Mar 7, 2011 at 8:51 AM, Corinna Vinschen  wrote:
> On Mar =A07 14:40, Corinna Vinschen wrote:
>> On Mar =A07 08:18, Mirko Vukovic wrote:
>> > On Thu, Mar 3, 2011 at 4:34 AM, Corinna Vinschen wrote:
>> > > On Mar =A02 15:06, Mirko Vukovic wrote:
>> > >> So, to summarize,
>> > >>
>> > >> - from work, I can access github using ssh 4.3, but not ssh 5.8 (I =
get
>> > >> =A0`connection reset by peer', or` remote end hang up unxepectedly'=
),
>> > >> - from home, ssh 5.8 gives me the PTY error, but I can perform push
>> > >> =A0 to github.
>> > >
>> > > Did you try to revert to openssh 5.6p1-2?
>> >
>> > Yes. =A0It behaves the same way (PTY error, but git push origin master=
 works)
>> >
>> > Where can I find 5.5 of openSSH? =A0I had that ssh working from Octobe=
r 2010.
>> >
>> > Or do I have to get the sources and compile them?
>>
>> Yes, but they build out of the box.
>>
>> However, what Dave wrote still applies. =A0If you run an ssh client, it
>> does not try to create a pty. =A0The pty creation occurs solely on the
>> server side.
>>
>> The difference may be that the client requests a pty, while the other
>> client doesn't =A0 This can be a result of different ssh config settings.
>> Check you ~/.ssh/config file.
>
> ... and then there's also the -T option, see `man ssh'.
>
>
Thanks,

BTW, I accept Dave's explanation.  I just don't fully understand
what's going on.
Time to finally dig into ssh :-)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019