ssh client password option

Bob Proulx bob at proulx.com
Mon May 23 04:34:34 EST 2005


hkb2tw_ at ssl-mail.com wrote:
> i need the feature of a password option (like --password) for
> scripting/testing purpose.
> 
> I know its not secure and i am aware of that, i just need it for
> internal testing purpose.

You might look at using expect.

  http://expect.nist.gov/

Or one of the expect follow-ons such as these perl modules:

  http://search.cpan.org/search?query=expect&mode=all

Bob




More information about the openssh-unix-dev mailing list