Connect to your EC2 instance using SSH the modern way

preview_player
Показать описание
Did you know establishing an SSH connection with an EC2 instance is possible without configuring a key pair and without allowing inbound traffic on port 22? How is that possible? By using a combination of EC2 Instance Connect and Systems Manager (SSM). Watch a demo!

#aws #amazonwebservice #cloudcomputing #ec2
Рекомендации по теме
Комментарии
Автор

hello and thank you for the tutorial.
This method works great for me when I use SSH, but when I use SCP it throws me 'ssh: Could not resolve hostname'
you know what it could be?

IgnacioAedoVillagra
Автор

Is it possible to use this to connect to an RDS database thru an EC2 bastion host? The EC2 bastion host without having a key-pair.

mikerayco
Автор

Thank you so much for this video! Helped me immensely

camilacaetadagnino
Автор

Hi, where do I need to run the commands from? I mean on which machine do they need running? Also, I see that no keypair was selected while launching the instance, where did you get the public key from?

farhanwaheeda
Автор

Does this solution works from a local computer if I don't have a public IP and Keypair on the EC2 instance ? Is there a way to ssh a private EC2 instance which doesn't have public IP and keypair attached ? Consider I have the right permission, AWS CLI access and SSM/plugins available.

sureshsreedharan
Автор

Will this work on a redhat ec2 instance.

ahmedchoudhury
Автор

I have tried this approach but I am getting Permission denied (publickey, keyboard-interactive), have checked, the config seems to be correct

prashantbanthia