ssh cause mintty terminal not to close (tested on 4 cygwin installations)

nkj@internetgruppen.dk nkj@internetgruppen.dk
Fri Aug 3 10:02:00 GMT 2018


On 2018-08-02 23:08, Andrey Repin wrote:
> Greetings, Niels Kristian Jensen!
> 
(cut)
> 
> A long known issue.
> mintty holds terminal open if last program finished with failure.
> ssh somehow tripping this wire on occasion.

OK.

>> This may seem like a minor thing, but we have much trouble with 
>> Jenkins
>> builds (started via Cygwin OpenSSH) which randomly hang forever - I 
>> wonder
>>  if this could be a clue in this investigation.
> 
(cut)
> 
> Try upgrading your mintty, also, if it's about automated building 
> environment,
> I don't see how's mintty can be involved.

If the "non-closure" of mintty  is completely internal in mintty and not 
a handshake-mistake with the cygwin dll or the OS, then I agree. It 
seems to be the case, reading the link provided by Thomas Wolff.


For cyg Simple:
I am stuck with Cygwin 32 bit because of some tools, we use. A team is 
trying to get it to work with 64 bits, but that is not there yet.


For Thomas Wolff:
The link explains return code handling in mintty & ssh. A valid reason 
to update mitty.

Thank you, Andrey, cyg Simple & Thomas Wolff :-)

------------------------------------------
Spejd er sejt!

Det Danske Spejderkorps
------------------------------------------

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