Access incus-os on server via incus on pc, how to generate token in incus-os

Hello,

I installed incus os (proxmox-vm).
I provided an initial trust client certificate (created with openssl) when creating the install image.
I can connect to incus-os via firefox (imported .pfx file).

But how can I connect to incus-os via the incus-cli on my pc?

If I try with:

$ incus remote add 

I need to provide a trust token.

I understand that I can create that token in incus-os with:

$ incus config trust add

But how do I access the command line on the incus-os installation?

The ui that I access with the browser doesn’t seem to have an option for that.
And if I connect to the server (proxmox-vm) directly, it just shows the setup screen of incus-os.

Sorry if I am missing some part of the documentation that explains this, but I’m a bit lost here and would be happy for some help. Thank you very much!

You should have receiveda client.crt and client.key alongside that client.pfx.

You can use those files in ~/.config/incus/ to connect to the server, then once you have a system that can interact through the CLI, you can use incus config trust add to generate tokens and add more.

1 Like

Thank you very much!