SSH to AWS EC2 server without sharing AWS SSH key with team
In this blog post, you will learn how to SSH to AWS EC2 server running in AWS VPC public subnet, without sharing SSH key with the team using SloopEngine. It is recommended to know the potential security risks involved in sharing SSH keys with the team when providing SSH server access. Let's see how to do it.
Configure AWS EC2 security group
To allow SSH connection from SloopEngine, you need to write an inbound rule on your AWS EC2 security group to whitelist SloopEngine Gateway IP's. Check out the AWS EC2 documentation to know how to manage security groups.
Download SSH key pair from AWS EC2 console
Create new SSH key pair from AWS EC2 console. Once the SSH key pair is created, the private SSH key will be automatically downloaded to your machine, but the public SSH key won't. But you have to retrieve the public SSH key using the downloaded private SSH key with the help of AWS EC2 documentation. Then you must add an Identity to your SloopEngine Account, where you have to copy and paste the contents of private and public SSH key.
You cannot download the public SSH key directly from AWS EC2 console.
Boot AWS EC2 server on AWS VPC public subnet
First, you have to boot an AWS EC2 server within AWS VPC public subnet. Make sure you properly attach correct SSH key pair with this AWS EC2 server. Below are the list of things to be done, once its up and running.
SSH to AWS EC2 server from SloopEngine
All you have to do is to create a Map on SloopEngine Account to assign SSH access to any of your team member. Once thats done, your team member can SSH to AWS EC2 server running in AWS VPC private subnet in single click from your SloopEngine Account.
Interested? Signup today for free! Thank you.
Recent videos about SloopEngine
Subscribe for updates
Please check your mailbox after submitting this form. If you haven't received any email from SloopEngine, check your spam folder. If you find SloopEngine emails in spam folder immediately move it to inbox.