bitnami / vms

Bitnami VMs
https://bitnami.com
Other
203 stars 42 forks source link

Unable to Connect to the AWS EC2 created by "Bitnami for Redmine" server through SSH #1408

Closed hvaishnav closed 5 months ago

hvaishnav commented 5 months ago

Platform

AWS

bndiagnostic ID know more about bndiagnostic ID

849fabe0-d11f-11cb-4a34-e4ec5361be461

bndiagnostic output

No response

bndiagnostic was not useful. Could you please tell us why?

I have not found any thing through out the internet. Which can help me to connect?

Describe your issue as much as you can

I am encountering difficulties establishing an SSH connection to my AWS EC2 Debian instance using Putty software. Here are the details of the issue:

Instance Details: The EC2 instance is running Debian.

Authentication Method: I possess the .ppk file for SSH authentication.

Connection Attempt: Upon initiating the connection with Putty, the software prompts for "login as". I have attempted various inputs.

Error Encountered:

"Server refused our key" "No supported authentication methods available (server sent : public key)"

This error persists despite attempting multiple login inputs. I seek assistance resolving this issue to establish SSH connectivity to my Debian instance.

Please advise on the steps to troubleshoot and resolve this problem effectively AWS connection issue

gongomgra commented 5 months ago

Hi @hvaishnav,

Thanks for using Bitnami. Because you are sharing a bndiagnostic ID (although I was not able to access it), I understand you were able to connect to your machine previously. Is that correct? In that case, did you modify anything in the SSH configuration settings?

If not, how did you install the SSH public key in the instance? Did you generate a new SSH key using the AWS console or did you provide the launch instance workflow with your own public key?

hvaishnav commented 5 months ago

Hello gongomgra,

I have not connected to my machine since I have launched it. I didn't have modified anything in the SSH configuration due to accessibility issue to my instance. As well as I have not changed anything related to SSH in AWS as well.

We have created the instance by "Bitnami package for Redmine (under AWS Market Place)". using below link - url = https://aws.amazon.com/marketplace/pp/prodview-urx6afmwf5y64

Though I am able to access the "Redmine" website using our IP address but whenever try to connect the instance we got the error.

Purpose of connection = I want to connect my instance due to I need to install "CRM" plugin for my redmine website.

Can you explain share the steps for -

  1. Install the SSH public key in the instance?
  2. Launch instance workflow with your own public key?
  3. Generate of new SSH key ? Is it same like ".ppk or .pem" file we get from AWS key-pairs.
hvaishnav commented 5 months ago

Issue resolved. Generated new key pair (".pem" file) from AWS and get the new ppk file by "PuttyGen" software. Now using the new ppk generated by "PuttyGen" it is connection. Thanks for the help.