From: Joel VanderWerf Date: 2010-04-07T08:25:09+09:00 Subject: Re: pass a password to ssh Roger Pack wrote: > Anybody know how to pass a password to ssh? > > with this: > > > require 'open3' > stdin, stdout, stderr, thread_on_doze = Open3.popen3 'ssh user@host' > > > ssh somehow appears to bypass and still require the password from the > terminal [?] > Thanks. > -rp Dunno. Maybe use pty? Have you ruled out key-based authentication?