AWS - Remote access to the instance

Asked

Viewed 883 times

5

Good! I created a Linux instance Amazon and a Windows, followed all the steps to generate key, import and change it via Putty, opened the key, asked for the connection with the care of ec2-user bla bla bla, but in none of the instances I can log in. It gives time out. Via SSH (Putty) on Linux or via RD on Windows. It initially includes restricted rules, now allowed full access on both, and nothing! Can anyone help? I appreciate the help.

2 answers

1

Windows RDP access:

  • Security Group : Inbound : RDP : 0.0.0.0/0
  • To get the windows administrator password you need the . PEM file that was generated in your server generation. His name will appear in the following dialog.

Selecionar opção Identificar com arquivo .PEM

SSH Linux Access:

  • Security Group : Inbound : SSH : 0.0.0.0/0
  • Convert . PEM key to . PPK with Puttygen;
  • In connection with Putty, fill the host and follow the configuration tree through Connection->SSH->Auth and select the file. PPK on Browse button.

inserir a descrição da imagem aqui

EXTRA: If you have questions about setting up Firewall (Security Group), set a "All Traffic" rule to "0.0.0.0/0" that will be released to any port. It will be simpler to test your server connectivity.

0

Some of the factors that may be occurring.

1 - Go to your instance view panel and click on the security group option and then inbound and check that the ssh source is at ip 0.0.0.0/0

if you are so correct.

2 - Then check if you followed the configuration steps of Putty as specified by Amazon here. To use Putty you have to generate a private key from the . pem key with extension . ppk by puttygen and add it in Putty. Already in Ubuntu you just download the key . pem

and use the cameo:

ssh -i key.pem ubuntu@seu ip publico

for instances created with linux-Amazon OS and windows the default user is

ec2-user@seu ip público

for Ubuntu is

ubuntu@seu ip público
  • Thanks for the return, but I’ve done all this. I’m trying to put a new account to know if it’s something with this specific.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.