Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable To Connect To Amazon AWS Instance Using Java SSH

I'm trying to connect to an instance that I've created.

I select the instance, chose "A Java SSH client directly from my browser (Java required)" and enter the path to my key pair file.

However when I click "Launch SSH Client" nothing happens.

There isn't an error message.

Am I misunderstanding what I'm meant to be doing, or is there something going wrong?

Connection settings

like image 240
Batman Avatar asked May 04 '16 14:05

Batman


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.

Why is my AWS instance not connecting?

The following are common reasons why EC2 Instance Connect might not work as expected: EC2 Instance Connect doesn't support the OS distribution. The EC2 Instance Connect package isn't installed on the instance. There are missing or incorrect AWS Identity and Access Management (IAM) policies or permissions.

How do I log into AWS instance SSH?

A user must have SSH authorization to use the MindTerm SSH client or to use their personal key pair to log in to a stack's instances. In the AWS OpsWorks Stacks navigation pane, click Permissions. Select SSH/RDP for the desired AWS Identity and Access Management (IAM) user to grant the necessary permissions.


2 Answers

Solution ended up being to reinstall Java.

like image 52
Batman Avatar answered Nov 01 '22 02:11

Batman


if you are using a SAFARI then the problem is actually very simple. For security purposes, SAFARi installs java but does not enable it. Just go to web preferences and Enable JAVA

like image 1
Justin Joseph Avatar answered Nov 01 '22 00:11

Justin Joseph