We are trying to set up SSH Tunnel connectivity to our Amazon EC2 instance using Monyog. We are not able to set it up and are getting the error “Cannot establish Tunnel”. Any help would be really appreciated.
If I'm not mistaken, Amazon allows only key-based authentication for remote SSH logins to EC2. So, to have MONyog login to EC2, you'll need both the public- and private- keys. Do you have both keys? Also, what is the exact error message reported by MONyog? Can you check the error log as well?
I have a private key. There is a way by which I can generate public key from private key. Once I did this, the error message that I get is “Failed to connect to MySQL: Tunnel to MySQL server was not created successfully.”
-Karthik
'Sayan wrote on '29:
Hi Karthik,
If I'm not mistaken, Amazon allows only key-based authentication for remote SSH logins to EC2. So, to have MONyog login to EC2, you'll need both the public- and private- keys. Do you have both keys? Also, what is the exact error message reported by MONyog? Can you check the error log as well?