SSH appears in Git push_ dispatch_ run_ fatal

Time:2020-12-14

Problem: gitpush encountered the following error:

ssh_dispatch_run_fatal: Connection to 52.74.223.119 port 22: Software caused connection abort
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Cause: DNS resolution problem

Open CMD and enter ping command to view github.com Connection, request timeout:
SSH appears in Git push_ dispatch_ run_ fatal

Solution: configure the local hosts file

look forC:\Windows\System32\drivers\etc\hosts
Add the following text at the end and save it

192.30.255.112  github.com git 
185.31.16.184 github.global.ssl.fastly.net

Results: it was successfully solved

Ping again github.com , Ping successfully.
Push again, success.
SSH appears in Git push_ dispatch_ run_ fatal

Recommended Today

[rust] basic data type

This article introduces the built-in data types provided by rust. Boolean type Boolean typeLogical values representing yes and No. It has two values:trueandfalseGenerally used in logical expressions, and, or, and not operations can be performed: fn main() { let x = true; let y: bool = ! x; // False, inverse operation let z = […]