0

I just launched a AWS EC2 Image today, I got to authenticate successfully and I did the following changes:

  • sudo yum update
  • Install Oracle JDK 8_92 using wget
  • Remove all other java options
  • export JAVA_HOME and alter bash_profile to do the same thing
  • Change locale to Mexico
  • Change timezone to Mexico/General
  • Download Payara build 163 (wget) Rename it.

Then I ask the instance to reboot, now I can´t authenticate. It refuse "our public key" any ideas?

I think it might have to do with sudo yum update, but not sure.

chicks
  • 3,793
  • 10
  • 27
  • 36
HFR1994
  • 153
  • 5
  • You don't authenticate with a public key, you authenticate with a certificate based on your private key. Double check the IP address in the AWS console, it may have changed. – Tim May 20 '16 at 23:52
  • Double checked, I found the problem, I was making my user directory (/home/ec2-user) with 777 privileges that messed everything – HFR1994 May 20 '16 at 23:54
  • Yep that'll do it. Suggest you delete your question or create your own answer and accept it, so people don't bother to try to help. – Tim May 21 '16 at 00:01
  • Can you explain why? Please – HFR1994 May 21 '16 at 00:02
  • Right now the question isn't marked answered, so people will come in and try to help. That wastes peoples time. If you want to respect the people who spend their own time to help others you mark questions as answered once you have a solution. – Tim May 21 '16 at 00:30

1 Answers1

0

Got it fixed, the answer has that I was making my user directory (/home/ec2-user) with 777 privileges that messed everything

HFR1994
  • 153
  • 5