Delivery init - Permission denied (publickey)

I am getting this error when trying to init. I have run the delivery token and auth is successful. not sure where the command is looking for the private key. i have the private key in .delivery, .chef.

Creating Delivery project…
Skipping: Delivery project named awesome_customers_delivery already exists.
Creating Delivery git remote…
Skipping: Remote named ‘delivery’ already exists and is correct.
Pushing initial git history…
Git command failed!
STDERR: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

You’ll need to ensure your user (as specified in your .delivery/cli.toml) exists on the Automate server (that is the Automate service itself, use the Admin tab of the console) and that you have your public key set. You can then use an ssh-agent in the shell you are attempting to run delivery from.

1 Like