Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by chenryn (Initiate)
on Aug 30, 2012 at 15:19 UTC ( #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?
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.

Re: How to use Net::SSH2 in a krb5 authen env?
by salva (Monsignor) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
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? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-09-30 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (363 votes), past polls