Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug when two instances share the same $gen_name #487

Open
0xtavian opened this issue Nov 5, 2021 · 0 comments
Open

bug when two instances share the same $gen_name #487

0xtavian opened this issue Nov 5, 2021 · 0 comments
Labels
bug Something isn't working Priority: Low This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix

Comments

@0xtavian
Copy link
Collaborator

0xtavian commented Nov 5, 2021

there is a bug when two cloud instances have the same $gen_name, axiom generates a malformed ssh config file which prevents using any instance. Logic should be added that regenerates the name if a collision occurs.

tmp workaround:
option 1:
log into cloud provider web dashboard (or via the CLI) and manually delete instances with duplicate hostnames.
option 2:
edit the local ssh config axiom uses (~/.axiom/.sshconfig) to remove the duplicate entries, then run axiom-ssh --just-generate cache to permanently lock/prevent axiom from regenerating the ssh config. ( to revert run axiom-ssh --just-generate or axiom-ssh --just-generate public

@0xtavian 0xtavian added the bug Something isn't working label Nov 5, 2021
@0xtavian 0xtavian changed the title bug when two instances share the same name bug when two instances share the same hostname Nov 5, 2021
@0xtavian 0xtavian changed the title bug when two instances share the same hostname bug when two instances share the same $gen_name Nov 19, 2021
@0xtavian 0xtavian added the Priority: Low This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix label Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority: Low This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix
Projects
None yet
Development

No branches or pull requests

1 participant