Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: help to deal with ssh connection

by mitchreward (Acolyte)
on May 19, 2014 at 05:51 UTC ( [id://1086584]=note: print w/replies, xml ) Need Help??


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

done, I've edited my previous post.

Regarding the keys, that's already generated and installed properly on both computer.
Actually I get the error : Permission denied (publickey,password,keyboard-interactive).

What I can see in the doc is the Net:SSH module is : "You don't (at least not with this module). Use RSA or DSA keys."

Replies are listed 'Best First'.
Re^5: help to deal with ssh connection
by vinoth.ree (Monsignor) on May 19, 2014 at 08:48 UTC

    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

      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...

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1086584]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2025-07-12 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.