[RUBY] How to resolve the "OpenSSH keys only supported if ED25519 is available" error

Goal

Resolve the error and complete the deployment.

Production environment

・ Ruby: 2.5.7 Rails: 5.2.4 ・ AWS: EC2 ・ OS: macOS Catalina

Solutions

Add Gem in development environment

1. Add Gem

Gemfile


gem 'ed25519'
gem 'bcrypt_pbkdf'

Install bundle and run capistrano's auto-deploy command again

Terminal


$ bundle install
$ bundle exec cap production deploy

The error statement also told me to put this gem file in, so I tried it and it got better.

Recommended Posts

How to resolve the "OpenSSH keys only supported if ED25519 is available" error
[Rails carrier wave] How to not transition to the error screen even if the image upload is not selected
How to put out the error bundling
How to resolve the error'ActionView :: Template :: Error (The asset "application.css" is not present in the asset pipeline.'" When precompiling Rails assets
If the parameter is an array, how to include it in Stopara's params.permit
[Error] How to resolve the event that the screen does not transition after editing
[Ruby] Meaning of &. How to avoid the error when the receiver (object) is nil
How to find the cause of the Ruby error
How to resolve SSL_connect error in PayPal Ruby SDK
[Error resolution] How to resolve the error "Could not find a JavaScript runtime." After upgrading Catalina!
[Android] How to check if the Google Play developer service is installed when the app is launched
I want to find out if the specified character string is supported by the target character code
How to resolve Missing Template error when implementing comment function
What to do if audio is not available on discordrb
How to validate subsequent tests even if the test fails
Uppercase only the specified range with substring. (How to use substring)
How to deal with the error ERROR: While executing gem ... (Gem :: FilePermissionError)
How to execute action attribute processing only when the confirmation dialog with h: commandButton is OK
Static function to check if the RGB error of BufferdImage is within the specified ratio in Java