You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On new opnsense it is not possible to sync anymore because in the last versions openssh 8.8 ist used and they removed ssh-rsa in PubkeyAcceptedAlgorithms.
Is there a way to make it working again?
userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
To execute ssh is not the same because a php Library called libssh2 is used.
As far as i now libssh2 already could to this but it need to be implemented.
In the meantime you can activate ssh-rsa on the client side.
You have to set these two settings on the client side:
Activity
wastez commentedon Mar 16, 2022
Would it be possible to implement the new libssh2
wastez commentedon Sep 27, 2022
Would it be possible to implement it?
thomas-pike commentedon Oct 2, 2022
Is there a PHP library for it?
wastez commentedon Oct 5, 2022
As far as i know the latest libssh2 can do this.
antonzhelyazkov commentedon Nov 25, 2022
I have the same issue when I try to sync keys with AlmaLinux 9.1
I tried with adding
but it fails again
When I try to execute on command line from SKA server:
it connects successfully
Any ideas?
wastez commentedon Nov 29, 2022
To execute ssh is not the same because a php Library called libssh2 is used.
As far as i now libssh2 already could to this but it need to be implemented.
In the meantime you can activate ssh-rsa on the client side.
You have to set these two settings on the client side:
PubkeyAcceptedAlgorithms +ssh-rsa
HostkeyAlgorithms +ssh-rsa
wastez commentedon Nov 8, 2023
Hello.
I complied the last version of libssh2 and edited your code to work with devices which aren't ssh-rsa.
If you like to have the changes just inform me.
Thanks & Greets
antonzhelyazkov commentedon Nov 8, 2023
Sure :)
It will be great if SKA works with such a devices.
40417256 commentedon Nov 11, 2023
ED22519 is the way to go for the time being.
antonzhelyazkov commentedon Nov 17, 2023
it works thank you
wastez commentedon Nov 17, 2023
Yes but to work with old devices too the code should be edited.
Sorry was really busy this week....
kevinrode commentedon Apr 29, 2025
@wastez Could you open a pull request with the changes you made to get it working again?