Hi,
Using the new AMI for Ubuntu 22.04 and OpenSSH was updated to v8.x and rsa host keys are disabled by default. As a result the current rsa key used for 18.04 amd 20.04 gets permission denied.
If I update the key and the database to reflect a ed25519 key I see the error:
Oops, we’re sorry but something went wrong OpenSSH keys only supported if ED25519 is available net-ssh requires the following gems for ed25519 support: * rbnacl (>= 3.2, < 5.0) * rbnacl-libsodium, if your system doesn’t have libsodium installed. * bcrypt_pbkdf (>= 1.0, < 2.0) See https://github.com/net-ssh/net-ssh/issues/478 for more information Gem::MissingSpecError : “Could not find ‘rbnacl’ (>= 3.2.0, < 5.0) among 249 total gem(s) Checked in ‘GEM_PATH=/usr/share/foreman/.gem/ruby:/usr/share/gems:/usr/local/share/gems’, execute gem env
for more information”
If I install rubygem-rbnacl it appears to break foreman, where services fail to start on restart.
What’s the best way to get ed25519 working?
I am currently using foreman version 3.3.0
Many Thanks,
Tania