When I try to set up SSH keys on Elastic Beanstalk CLI, I got this error instead:
ERROR: SSH is not installed. You must install SSH before continuing.
I don't usually get this error before. Maybe before, the SSH got installed automatically when I install other things, but I somehow missed it now.
This error occurs if you created a password for your key file, but haven't manually entered the password. To resolve this error, enter the password or use ssh-agent to load the key automatically. There are a number of reasons why you might get an SSH error, like Resource temporarily unavailable.
To attach the EB CLI to an existing environmentOpen a command line terminal and navigate to your user folder. Create and open a new folder for your environment. Run the eb init command, and then choose the application and environment whose health you want to monitor.
Make a note of an instance ID that you want to connect to. In the navigation pane of the Amazon EC2 console, choose Instances, and find your instance ID in the list. Right-click the instance ID for the Amazon EC2 instance running in your environment's load balancer, and then select Connect from the context menu.
I finally can solve it by installing SSH using OpenSSH binary version for Windows from here:
http://www.mls-software.com/opensshd.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With