bug when two instances share the same $gen_name #487
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
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 runaxiom-ssh --just-generate
oraxiom-ssh --just-generate public
The text was updated successfully, but these errors were encountered: