Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

How to use Net::SSH2 in a krb5 authen env?

by chenryn (Novice)
on Aug 30, 2012 at 15:19 UTC ( [id://990784]=perlquestion: print w/replies, xml ) Need Help??

chenryn has asked for the wisdom of the Perl Monks concerning the following question:

I like use Net::SSH2 or Net::SSH::Perl module to connect my remote hosts. But now the cluster changes to be authed by krb5 ---- that means $ssh2->auth_list return "gssapi-keyex" and "gssapi-micpassword".

I donot find any words about gssapi support in the POD of Net::SSH2 or Net::SSH::Perl. Then what can I do?

  • Comment on How to use Net::SSH2 in a krb5 authen env?

Replies are listed 'Best First'.
Re: How to use Net::SSH2 in a krb5 authen env?
by salva (Canon) on Aug 31, 2012 at 08:04 UTC
    Looking at libssh2 feature list, it does not seem to support krb5 authentication.

    Net::OpenSSH should work as OpenSSH does support it. Configure your environment to log into the remote host using OpenSSH ssh client with krb5 authentication, and Net::OpenSSH will just work.

      How about the performance of Net::OpenSSH? Sounds like wrap ssh command with Expect?

        Performance is similar to that of Net::SSH2.
Re: How to use Net::SSH2 in a krb5 authen env?
by ig (Vicar) on Aug 30, 2012 at 19:14 UTC

    I would talk to the people that manage the remote hosts about enabling public key authentication.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found