ssh ... PTY allocation request failed on channel 0

Mirko Vukovic mirko.vukovic@gmail.com
Mon Mar 7 15:37:00 GMT 2011


On Mon, Mar 7, 2011 at 8:51 AM, Corinna Vinschen  wrote:
> On Mar  7 14:40, Corinna Vinschen wrote:
>> On Mar  7 08:18, Mirko Vukovic wrote:
>> > On Thu, Mar 3, 2011 at 4:34 AM, Corinna Vinschen wrote:
>> > > On Mar  2 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
>> > >>  `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
>> > >>   to github.
>> > >
>> > > Did you try to revert to openssh 5.6p1-2?
>> >
>> > Yes.  It behaves the same way (PTY error, but git push origin master works)
>> >
>> > Where can I find 5.5 of openSSH?  I had that ssh working from October 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.  If you run an ssh client, it
>> does not try to create a pty.  The pty creation occurs solely on the
>> server side.
>>
>> The difference may be that the client requests a pty, while the other
>> client doesn't   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



More information about the Cygwin mailing list