1

I was pushing codes to github from a repo via a proxy (socks5)

proxychains git push -uv origin master

Warning: the RSA host key for 'github.com' differs from the key for the IP address '224.0.0.1'
Offending key for IP in /home/name/.ssh/known_hosts:38
Matching host key in /home/name/.ssh/known_hosts:21
Are you sure you want to continue connecting (yes/no)?

For the security consideration, I chose "no".

The actual real IP of "github.com" from https://www.iplocation.net/ is: 192.30.253.112

Does this mean that the proxy server did not get a correct IP of github.com . For instead, it got 224.0.0.1.

Was the server be compromised or something wrong with my local settings?

1

Was the server be compromised or something wrong with my local settings?

Most likely something is misconfigured, but given the information provided, it is impossible to tell whether on the connecting client or the ProxyChains machine. If you search for proxychains 224.0.0.1 you can see quite a number of posts, like this one.

Offending key for IP in /home/name/.ssh/known_hosts:38
Matching host key in /home/name/.ssh/known_hosts:21

Looks like your /home/name/.ssh/known_hosts contains the github.com public key in line 38 and in line 21 there is a public key of an SSH server which you connected to in the past (most likely your localhost, but you should confirm it).

When you tried to reach github.com proxy returned 224.0.0.1 and git opened an SSH session to one of your own machines and rightfully reported it was not the github.com.


Side note:

The actual real IP of "github.com" from https://www.iplocation.net/ is: 192.30.253.112

GitHub uses a whole range of IP addresses and the one you connect to can change. See What IP addresses does GitHub use that I should whitelist?. See also: Should I worry about GitHub using IP addresses that are described as having an unknown host.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.