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
4.06k stars 645 forks source link

Better SSH handling and other small improvements #465

Closed 0xtavian closed 3 years ago

0xtavian commented 3 years ago

fixes https://github.com/pry0cc/axiom/issues/437

axiom-configure will generate and use ssh key named: axiom_rsa the name of the key is stored in ~.axiom/account/personal.json axiom-build will reference ssh key in ~.axiom/account/personal.json and add pub key to packer build.

To change the SSH key axiom uses by default, just edit ~.axiom/account/personal.json For example: change key:value pair "sshkey": "id_rsa" to "sshkey": "customkey_rsa" and rerun axiom-build.

partly fixes https://github.com/pry0cc/axiom/issues/463

check if go is already installed before attempting install on axiom controllers