The Makefile.PL script from the latest versions of Net::SSH2 accepts both an inc and lib parameters with the place of libssh2 library and include files. For instance:
Makefile.PL inc=/usr/include lib=/usr/lib64
Besides that, Net::OpenSSH::Compat(::SSH2) implements most of Net::SSH2 API on top of Net::OpenSSH and it's pretty easy to install on Unix/Linux system including Fedora. | [reply] [d/l] [select] |
Hi Salva.
Ah, it looks like I should be able to just use my existing Perl code with that module ... Cool! That will be really helpful if I am unable to get Net::SSH2 installed.
I'm actually still trying to do the suggestion below by khen1950, and it's now a case of wanting to learn how to do it properly, which I'd like to do even if the Net::OpenSSH pans out.
Anyway, thanks very much for the suggestion. Appreciated!
| [reply] |
Ah, it looks like I should be able to just use my existing Perl code with that module
Mostly yes, there are some features that can not be emulated by Net::OpenSSH but in my experience those are rarely used.
Anyway, if you decide to use it, don't hesitate to report any problem you may find.
| [reply] |