Hi,
I have the admin account and password of my juju controller , i can access via the web interface .
I have a ssh access on the controller .
I changed my laptop , and my folder .local/share/juju/ is empty .
My controller is version 2.4.1 .
I think that ‘juju login -- help’ will show you an example of pointing the client to your controller API endpoint and that would perhaps get you starting.
However, your (lost?) private ssh keys are perhaps going to cause you issues later.
@erik-lonroth is right on point. Juju login is your next step, although being at 2.4.1 might be an issue as much of that login work went in after that I believe.
Hmmm, if you can’t ssh into the machines it’s going to be difficult to get things like the controller cert. Basically I’d try to bootstrap a new controller and look at the data in .local/share/juju/controllers.yaml and you’ll see the details that you need to connect and work against the controller.
If you start to go through that and hit something we can’t get we’ll have to see if there’s any work arounds.
Right, so from here see if you can add a new ssh key using the normal juju commands juju ssh-import-id or juju add-ssh-key. It should add the key to the existing machines. You’ll need to do that per model.