Ionic Pro: Git initial push issue

I just updated my subscription to Pro and wanted to migrate my previous app into the new system. I setup the new app on the site and then linked it with ‘ionic link’, but when I try and do ‘git push ionic master’ I get the following error.

FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)
fatal: Could not read from remote repository.

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

I then tested my ssh client with this ‘ssh -vvv’ which returned a successful connection to the system with the Pub/Priv key I have setup.

Any and all help with this would be grateful.

Edit: Windows 10 machine

You can try logging out then logging back in using ionic logout/login.

I did that and still getting the same error

did you run this command?

git remote rename origin ionic

You need to set an public SSH key

Ionic Pro is a hosted and closed source service, so there is not much we, the community, can help you with, sorry. Check these:

You can - and should - contact support at

Thanks for the reply guys, 1) the origin was already ionic and 2) already have the public SSH key setup (that was the ssh -vvv testing I showed in the OP).

Any other ideas?

please try the command

git push -f ionic master

Same error using

git push -f ionic master

My problem on windows 10 - was putty ppk/pub was incompatible/expired.
I used puttygen to generate new rsa and placed the keys in the .ssh folder.

Thanks, I will try that today and see if that fixes it (in the interim I just setup a docker image to push my code, which is working)