hraj has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I have to connect to a UNIX server from my Perl script. I have tried Net::SSH, but it is giving an error message saying "Authentication Failed". I guess, since i didn't supplied the Password it failed. In the Net::SSH user manual it says we can supply password only using DSA or RSA keys.
Can anyone tell me how to supply password using DSA or RSA keys in Net::SSH module.
Note: Since i am using Windows platform i can't use Net::SSH::Perl or Net::SSH::W32Perl modules.
Thanks in Advance,
Hemaraj
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Accessing UNIX server using Net::SSH
by marto (Cardinal) on Aug 24, 2006 at 11:18 UTC | |
Re: Accessing UNIX server using Net::SSH
by ForgotPasswordAgain (Vicar) on Aug 24, 2006 at 11:28 UTC | |
Re: Accessing UNIX server using Net::SSH
by eXile (Priest) on Aug 24, 2006 at 13:52 UTC | |
Re: Accessing UNIX server using Net::SSH
by mantra2006 (Hermit) on Aug 24, 2006 at 14:43 UTC | |
Re: Accessing UNIX server using Net::SSH
by hraj (Novice) on Aug 25, 2006 at 05:54 UTC |