From: ivan.pavlov@... Date: 2005-12-31T20:05:13+09:00 Subject: Re: net/ssh question I solved my problems. I hadn't paid attention to the Net::SSH::Service::Shell module which allows me to do almost exactly what I want. I still need to distinguish a timeout from a user action which did not result in anything sent to stdout. Maybe I'll just use the SyncShell service, encapsulate a shell in a thread and have another thread watch what's going on with the first one. But I don't know if this can be done in ruby.