From: Ivan Evtuhovich Date: 2010-04-07T17:00:07+09:00 Subject: Re: pass a password to ssh Hello, Why don't you use Net::SSH On Apr 7, 3:25 am, Joel VanderWerf wrote: > 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?