From: "Berger, Daniel" Date: 2002-07-09T22:10:25+09:00 Subject: RE: Net::SSH ??? > -----Original Message----- > From: Thomas Hurst [mailto:tom.hurst@clara.net] > Sent: Tuesday, July 09, 2002 7:46 AM > To: ruby-talk@ruby-lang.org > Subject: Re: Net::SSH ??? > > > * Philip Mak (pmak@animeglobe.com) wrote: > > > You'd also have to create a virtual terminal because most > > implementations of SSH (e.g. both ssh.com and openssh.org) insist on > > reading the password from a terminal. > > This is exactly what command-restricted passwordless RSA/DSA keys are > for. Another alternative is 'expect'. There's an implementation posted here: http://www.rubygarden.org/ruby?RExpect Regards, Dan