monday 8am and im locked out of a new ec2 instance

Solvedauthenticationlinuxssh89 replies · 1.6K views · started
  1. ahh classic exact same thing happened to my mac last month good luck man!

    thinking

    4 0 helpful
  2. oof sshd is strict about permissoins (StrictModes yes). On the server: chmod 700 ~/.ssh, chmod 600 ~/.ssh/authorized_keys, and the home directory must not be group- or world-writable. ownership must be teh user, not root.

    0 3 helpful
  3. lol same thing happened to me watch the username. Cloud images use default users like ubuntu, ec2-user, admin or debian 😂 connecting as root or your own name with a key thats only in the default users authorized_keys fails with exactly this error.

    0 4 helpful
  4. ok so pro tip: write down what u change. i didnt and had to redo instance from scratch fingers crossed 🤞

    1 0 helpful
  5. also lol i come back to this thread every week just for the drama :)

    0 2 helpful
  6. try turning off teh update first, fixed it for me

    17 0 helpful
  7. @oskar.schmidt did u ever fix it?

    0 2 helpful
  8. wait which version are you on?

    thinking

    2 0 helpful
  9. ahh classic try turning off the driver first, fixed it for me.. :/ i swear instance is cursed worked for me anyway 🤷

    2 0 helpful
  10. ok weird one spent my entire lunch break on ssh and im still not done

    2 0 helpful
  11. ok this thread just saved my weekend

    cry

    2 0 helpful
  12. dude finally got it working, thanks everyone. same issue here on my brand new build. following this thread thank u thank u thank u

    10 0 helpful
  13. ok this thread just saved my weekend. +1 same here im about to throw this thing out the window lol

    3 0 helpful

Reply to this topic

Sign in or create an account to reply.