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: ssh ... PTY allocation request failed on channel 0


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


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