Sign in
Categories
Your Saved List Become a Channel Partner Sell in AWS Marketplace Amazon Web Services Home Help

Could not log into EC2 instance in private subnet

  • By Enthusiastic but Sorry Guacamole Bastion Host Trail user
  • on 01/08/2021

I wrote a simple user-data start-up script to

1) Set "PasswordAuthentication yes" (this seemed to work)
2) Set password for ec2-user. This password followed standard EC2 instance password policy.
3) These commands were issued as su
4) To be sure that my script was 100% correct, I ran similar commands to change/set the password and set "PasswordAuthentication yes" on my stand-alone Linux (Ubuntu) machine. Both the commands worked perfectly as expected

With my (small) instance charges running high for test/trail purpose, having made many attempts with many permutations with no visibility into start-up (error/failure) log and with my Guacamole Bastion's trail period coming to an end within a day, I though that it would be best to cancel this subscription.


There are no comments to display