How can I push to my GitHub account from AIDE

55 Views Asked by At

I know I made it work some months ago, but I don't remember how. I currently have no problem in pulling from public repos, but I can't seem to push. Also I can't pull from private repos. I have my id_rsa.pub in the .ssh directory and it's configured in settings. I'm 100% sure my rsa passphrase is right, as I tested it in git-bash. I have AIDE Premium Key installed.

When I try to push it asks for User and Password and I'm not sure what to put there.

For user I've tried: [email protected] (my username) (my mail I use for my commits)

For password I've tried: (github account password) (rsa passphrase)

I'd appreciate any suggestions.

1

There are 1 best solutions below

4
VonC On

First, make sure your key is associated with your GitHub account:

 ssh -Tv [email protected]

You should see a welcome message.

Hi USERNAME! 
You've successfully authenticated, but GitHub does not provide shell access.

Second, don't forget you cannot clone/pull from private repository unless said private repositories are your own, or if you are a collaborator.

Similarly, you cannot push to a repository you don't own, or you are not a collaborator of.