Reputation: 11
When I use Azure DevOps Pipeline ,I received this error:
"fatal:could not read username for ‘http:xx.xx.xx.xx:’ No such device or address, git fetch failed with exit code 128".
When:
git clone http://xx.xx.x.x/x/xx/
(Azure DevOps repo); andIt shows “fatal:Authentication failed for ...”
. I tried using PAT and
SSH,But they both failed. The port 443 and 43 is isolation
attentions: is http, not https
Upvotes: 1
Views: 3039
Reputation: 1026
Generate a new SSH key. Go back to your Git account and remove the old SSH key and add the newly generated SSH key. For best practice always set SSH key password instead of leaving it blank.
Upvotes: 1