We’re using ssh-agent as a keyring manager so we don’t risk getting it wrong in the fleetctl tool. The “eval `ssh-agent -s`` simply starts an instance of ssh-agent and sets the appropriate environment variables (SSH_AUTH_SOCK, being the important one).
> After a reboot i also have to do ssh-add ~/.ssh/insecure_private_key again. Is this by design?
This is adding the necessary SSH private key to your new instance of ssh-agent. Since you have not created any configuration for ssh-agent, you’re essentially starting from a blank slate every time you boot up.