Ionic Pro: Git initial push issue


#1

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 git@git.ionicjs.com’ 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


#2

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


#3

I did that and still getting the same error


#4

did you run this command?

git remote rename origin ionic

#5

You need to set an public SSH key

https://dashboard.ionicjs.com/settings/ssh-keys


#6

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 http://ionicframework.com/support#support


#7

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?


#8

please try the command

git push -f ionic master

#9

Same error using

git push -f ionic master

#10

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.


#11

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)