in reply to Re^4: help to deal with ssh connection
in thread help to deal with ssh connection

In that doc the question is "Q: How do you supply a password to connect with ssh within a perl script using the Net::SSH module?"

The user wants to give password while authenticating, so the answer is do not use the RSA or DSA keys.


All is well

Replies are listed 'Best First'.
Re^6: help to deal with ssh connection
by Anonymous Monk on May 19, 2014 at 10:04 UTC

    thanks for your time And which module would you recommend to use a DSA key based authentication?
    Net::SSH::Perl::Auth

      Net::SSH supports public-key authentication with any key format supported by your SSH binary client, including DSA.

      Now, if you ask me for recommendations, I would say "go for Net::OpenSSH!", though I am quite biased...

Re^6: help to deal with ssh connection
by Anonymous Monk on May 19, 2014 at 10:04 UTC

    thanks for your time And which module would you recommend to use a DSA key based authentication?
    Net::SSH::Perl::Auth ?