lkinley / Net-SSH-Perl

Development on the Net::SSH::Perl module to support latest ciphers, key exchange mechanisms, etc.
Other
14 stars 9 forks source link

Issue while using Net::SSH::Perl #18

Open duttaANI opened 2 years ago

duttaANI commented 2 years ago

error:

Can't locate object method "exchange" via package "Net::SSH::Perl::Kex::C25519" at /usr/local/lib64/perl5/Net/SSH/Perl/Kex.pm line 107. when making the ssh object.

was related to : https://stackoverflow.com/a/45838302/11496568

https://github.com/ajgb/crypt-curve25519/issues/9

A hack to get job done -

The way I resolved it was the following -

I went to mathcalls-narrow.h /usr/include/x86_64-linux-gnu/bits$ vi mathcalls-narrow.h

and I commented out the following line - MATHCALL_NARROW (__MATHCALL_NAME (mul), MATHCALL_REDIR_NAME (mul), 2)

briandfoy commented 1 year ago

I've forked this project at briandfoy/net-ssh-perl, and you can reopen this issue there if you'd like. Otherwise, I'll add it myself at some later time. See #22.

If you include text like transferred from linkley/Net-SSH-Perl#18, GitHub should make a reference between the two issues. You should see such a reference in this issue now.

I don't have a fix for this issue, but can merge someone else's work. I'd have to do quite a bit to check that you didn't actually turn off other things that the module needs, too.