Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 738 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 738 Bytes

AWS-Passwordless-SSH

Script to enable passwordless SSH on AWS EC2 servers

Based on the linked stackoverflow answer. Tested on Ubuntu 18.04.

Requirements:

  • Python 3
  • IPs of the AWS instances.
  • AWS key pair used to start the AWS instances is needed in the root directory of the script.
  • Configure the source and destination values in inbound and outbound rules of the security group of the instances to Anywhere.

Instructions:

Please use the command bash run.sh to begin.

run.sh will use the python script setup.py to take user inputs and then configure and create a deploy.sh script which will then be used to enable passwordless SSH on the given AWS instances.