Solved Amazon AWS SSH to instance.

Status
Not open for further replies.

tomfoley

Free User
Joined
Nov 22, 2019
Messages
4
Reaction score
3
Hi there,

I have installed the 3CX Amazon Compute instance and it's working well so far. I have a few phones connected and can call just fine. I would like to use SSH to connect to the instance. To this end I created a key/pair and I manage to establish a connection to the instance, but I get a "Permission Denied (publickey) error. This is using "root" as the logon username.

Similarly, if I try to use the Amazon Console itself I also get an error.

It seems to me, that "root" is not the correct logon name perhaps?

Given that this is an AWS instance, there was no installation to do, just launch it really. And what that means is you're never prompted for a user name or password as you would be on an ISO install. I am wondering what is the correct user name to specify for SSH in these circumstances? "root" does not seem to cut it.

Many thanks,

-- Tom
 
Thank you Zol, I thought I had tried that too, but I gave it another try and yes it worked a charm!! Many thanks.
 
  • Like
Reactions: Zol
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,934
Messages
589,821
Members
164,812
Latest member
martin99