From: Paul Lynch Date: 2007-09-12T00:44:55+09:00 Subject: IO.popen and ssh I've been having some trouble using IO.popen to control an ssh process (and also mysqldump) on Linux. My understanding is that if I do: p = IO.popen('ssh mymachine') then the input and output of the ssh subprocess should be accessible via p. However, when I try that in an irb shell, the ssh process immediately takes over the standard input and output of irb, and I get an "Enter password:" prompt. I have to hit control-c to get back to the irb prompt. Is there a workaround for this? Or should I be doing this a different way? Thanks, --Paul -- Posted via http://www.ruby-forum.com/.