Reputation: 11
I am new to tortoise git and using for my Github enterprise. When I try to commit my files from Tortoise git , it works but when I try to push it throws me the below error
remote: Password authentication is not available for Git operations.
remote: You must use a personal access token or SSH key.
remote: See https://github.********.com/settings/tokens or https://github.******.com/settings/ssh fatal: unable to access 'https://github.ford.com/****/****.git/':
The requested URL returned error: 403
I get the same error when I try to clone. I can only commit files.
But when i try using with a sample github.com instead of enterprise, all works fine. Please advice me on this.
If i need to set up anything for authentication guide me as well
Upvotes: 0
Views: 27461
Reputation: 567
Generating Your SSH Public Key and replacing it as GitHub password should help.
Step 1 : Go to your IDE>>terminal - run below cmd & follow next steps populated
$ ssh-keygen -o
Step 2 : Wait for some time and verify if given <filename.pub>
has been generated in <given path>
Step 3 : Replace generated .pub key as a password for GitHub account.
Windows users go to Control Panel\All Control Panel Items\Credential Manager
. Click Windows Credentials
, look for GitHub account, select and edit password to .pub key
Refer Generating Your SSH Public Key
Upvotes: 0
Reputation: 684
You can create an access token and store it in the Windows Credential Manager.
Upvotes: 8
Reputation: 114
There are two ways of authenticating :
I think ford has opted the approach 2 .
The below article from Github should help you out.
https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
Follow it and make sure u add the SSH key of all machines u want access to the repo.
Upvotes: -2