fly ssh: Error establish key failed: key exists and override not set

Hi,

I’m having issues running flyctl ssh establish on my network (the-electives-network)
Error establish key failed: key exists and override not set

Thanks,
Matt

You shouldn’t need to run establish more than once. The UX for this is a mess, but the flow is:

  1. fly ssh establish once for an organization
  2. fly ssh issue each time you need a key

If you want to redo establishment for some reason, you can run fly ssh establish <org> true to override.

1 Like

What am I doing wrong here? I had run flyctl ssh establish previously

$ fly ssh issue --agent
? Select organization:  ***
? Email address for user to issue cert: ***@***

Populated agent with cert:

ssh-ed25519-cert-v01@openssh.com ***==
$ flyctl -a production ssh console
Error create ssh certificate: issue_certificate failed: no root key established (if you haven't created a key for your org yet, try `flyctl ssh establish`)

Replying privately to get info.