in reply to Accessing UNIX server using Net::SSH

Hi,

Thanks for all your posts.

Martin, Net::SSH documentations says just these lines in its documentation.

"You don't. Use RSA or DSA keys. See the ssh-keygen(1) manpage"

I don't know how to use RSA or DSA keys in Net::SSH module, that's why i posted this query.

I have installed Net::SSH::Perl and Net::SSH::W32Perl in my maching using PPM. But, when i try to run using these modules i get the following error message.

"The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Perl.pm line 110."

I also suffered in the internet and found out that getpwuid is not implemented for Win32 System. See http://www.perl.com/doc/FAQs/nt/perlwin32faq5.html.

I have ssh command in my machine. I have tried connecting the UNIX server manually (i.e. giving the password details manually) and it is working fine.

Now, my question is how to connect to UNIX server using Net::SSH module with DSA or RSA keys?

Once again, thanks for all your help.

Hemaraj

  • Comment on Re: Accessing UNIX server using Net::SSH