On Saturday 25 August 2012 11:15:15 you wrote:
> Aris,
> 
> Thank you for your response.
> 
> We create multiple ssh sessions simultaneously to multiple hosts. For each
> host we connect, I have a read thread to read from ssh session and write
> thread that writes to session.

That's the problem. You can only work on one session in one thread or the 
internal states will be wrong and strange things can happen.


        -- andreas

-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                [email protected]


Reply via email to