pry0cc / axiom

The dynamic infrastructure framework for everybody! Distribute the workload of many different scanning tools with ease, including nmap, ffuf, masscan, nuclei, meg and many more!
MIT License
3.91k stars 615 forks source link

Permission denied (publickey) #777

Closed notakodr closed 5 months ago

notakodr commented 5 months ago

Hello,

Having difficulty with ssh keys. I have created new keys, uploaded them to DO. Added to .axiom/configs/authorized_keys.

Each time i reinstall from scratch, same issue. Hoping you may have an idea.

Big thanks!

ChienNQuang commented 3 months ago

@notakodr can I ask what method did you use to resolve this?

notakodr commented 3 months ago

Ended up reinstalling everything from scratch... works like a charm! Axiom 4 Lif3!!!

Respect.

On Fri, Mar 8, 2024 at 3:32 AM Nguyen Quang Chien @.***> wrote:

@notakodr https://github.com/notakodr can I ask what method did you use to resolve this?

— Reply to this email directly, view it on GitHub https://github.com/pry0cc/axiom/issues/777#issuecomment-1985535365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXEM6XCBBMKQIY3JYFQ4OTYXGOWFAVCNFSM6AAAAABCD3E2RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBVGUZTKMZWGU . You are receiving this because you were mentioned.Message ID: @.***>

0xtavian commented 3 months ago

Hey @ChienNQuang, check out this part of our FAQ explaining how axiom uses ssh keys https://github.com/pry0cc/axiom/wiki/0-Installation#i-cant-log-in-to-my-droplets-i-get-permission-deniedwrong-password

you could always run axiom-account-setup and axiom-build default again.

ChienNQuang commented 3 months ago

Thanks @0xtavian, @notakodr, I was able to rebuild and made it work. The problem was I couldn't use the same image for different host machines, I had to rebuild one specifically for each host.