Permission denied when pushing (ionic remote)

I am just getting started with appflow and followed the quickstart docs. For now I don’t use GitHub, so I selected Ionic remote during setup and I let ionic autogenerate ssh keys. I installed the appflow sdk and commited the changes, but when I try to push a commit (using git push ionic master) I get the following error: Permission denied (publickey).
fatal: Could not read from remote repository.

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

I don’t have much experience with git or appflow so I don’t really know where to start looking for what causes this.

Any idea how to resolve this?