C:\Users\PARGE\Documents\ionic\mukta>ionic link --pro-id the-id
[INFO] You have been logged out.
[OK] backend set to "pro" in ..\..\..\.ionic\config.json!
[INFO] You have opted in to Ionic Pro! The CLI is now set up to use Ionic Pro services.
You can revert back to Ionic Cloud (legacy) services at any time:
ionic config set -g backend legacy
? App ID ionic-io-app-id already exists in project config. Would you like to link a different app? Yes
Log into your Ionic account
If you don't have one yet, create yours by running: ionic signup
? Email: my-email-id@gmail.com
? Password: [hidden]
> ionic ssh setup
[ERROR] Command not found: ssh
[WARN] OpenSSH not found on your computer.
[INFO] Looks like you haven't configured your SSH settings yet.
? How would you like to connect to Ionic Pro? Skip for now
[WARN] Skipping for now. You can configure your SSH settings using ionic ssh setup.
â Looking up app the-id- done!
> ionic config set app_id the-id
[OK] app_id set to "the-id" in .\ionic.config.json!
> ionic git remote
[WARN] Initializing a git repository for your project.
Before your first git push ionic master, you'll want to commit all the files in your project:
git commit -a -m "Initial commit"
> git init
> git remote add ionic git@git.ionicjs.com:arnoldparge/my-app-name.git
[OK] Added remote ionic.
[OK] Project linked with app the-id!
Thanks for the hint, but it doesnât resolve my problems.
So what I did: removed the SSH key in Pro, deleted /c/Users/myname/.ssh (so all local keys gone), got rid of all apps, then created a new app via the Pro dashboard. I used GIT bash for the CLI commands as per Pro dashboard instructions.
But when doing the final git push ionic master, I got the following message:
``
$ git push ionic master
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
``
Anyone suggestions what I am doing wrong? I am running ionic on a Windows machine.
For now I am sticking to legacy (and somehow ionic uploads does not update all files, btw).
So will upgrade node and npm. And if that doesnât work, will try to do ssh with git and github to see if there is something with my openssh installation.
I am running windows. Root cause for me is that I am using a corporate laptop for which I dont have admin rights and the home folder wasnt easily found. I did manage to run the portable versions of the keygen tools.
Anyway, it would be helpful if you can elaborate on your specific situation. For instance, can you run the keygen tools, can you find the generated files? Etc
I use git bash. I deleted the config and rsa keys. Ran the ionic ssh setup and it regenerated the keys. The project was link already. Everything work with no errors. But when I issue the git push ionic master, I get the error below:
/c/Users/[UserID]/.ssh/config line 3: garbage at end of line; â[UserID]\.ssh\ionic\743299_rsaâ.
fatal: Could not read from remote repository.
Like so. This should fix the problem, depending on your user name. if thereâs a space anywhere in the path, as there is between who and ever, the result is garbage