0

I have to perform migration on server which is located on Client location. So I used to connect it using putty and run git pull command to specific path location in order to migrate my code. But from today while doing same thing I am getting error as:

fatal: unable to access 'https://github.com/"my repo and project name"': Received HTTP code 403 from proxy after CONNECT

Attaching screenshot as well.

enter image description here

Matus Dubrava
  • 13,637
  • 2
  • 38
  • 54

2 Answers2

1

If sound like your GitHub username/password provided by Git (after going through the proxy) are not correct.

Check how your GitHub credentials are provided (git config credential.helper), and double-check you don't have 2FA activated (because if you do, you would need a Personal Access Token or PAT)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
1

Make sure that you have access of that repository . Error is self explanatory. I am afraid , you dont have the access.

To see your current git email and user name :

git config user.email 
git config user.name 

You can change your email and user like :

git config --global user.name "a"
git config --global user.email "a@a.com"
Shifat
  • 732
  • 1
  • 6
  • 20
  • Tried this, this is not helping. – Mohit Pandey Dec 23 '19 at 10:25
  • 2
    The `user.name` and `user.email` settings are *not* used for authentication. They are used only when *creating new commits*, which happens locally and does not require authentication. – torek Dec 23 '19 at 16:35