Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't set SSH in AWS EB CLI [closed]

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.

like image 261
Aminah Nuraini Avatar asked Jul 19 '16 12:07

Aminah Nuraini


People also ask

Why can I not SSH into my EC2 instance?

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.

How do you setup EB CLI with EB ENV that is already running?

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.

How do I connect to EB instance?

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.


1 Answers

I finally can solve it by installing SSH using OpenSSH binary version for Windows from here:

http://www.mls-software.com/opensshd.html

like image 122
Aminah Nuraini Avatar answered Oct 23 '22 21:10

Aminah Nuraini