Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
duttaANI opened this issue Mar 6, 2022 · 1 comment
Open

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

duttaANI opened this issue Mar 6, 2022 · 1 comment

Comments

@duttaANI
Copy link

duttaANI commented Mar 6, 2022

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

ajgb/crypt-curve25519#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
Copy link
Contributor

briandfoy commented Jul 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants