When I do pull
from Github, I am getting this warning message.
MYPC:/Rails$ git pull origin master Warning: Permanently added the RSA host key for IP address '#{Some IP address}' to the list of known hosts. From github.com:Example/Demo * branch master -> FETCH_HEAD Already up-to-date.
I just want to know which IP address it is adding to the known hosts.
You can remove the warning brutally by just editing the file ~/. ssh/known_hosts and remove all lines whose key is the same as that associated with the IP address. For example, if you have "Warning: Permanently added the RSA host key for IP address '140.82.
8.8 Address: 8.8. 8.8#53 Aliases: github.com has address 192.30. 253.112 github.com has address 192.30.
If you are accessing your repositories over the SSH protocol, you will receive a warning message each time your client connects to a new IP address for github.com. As long as the IP address from the warning is in the range of IP addresses , you shouldn't be concerned. Specifically, the new addresses that are being added this time are in the range from
192.30.252.0 to 192.30.255.255
. The warning message looks like this:Warning: Permanently added the RSA host key for IP address '$IP' to the list of
https://github.com/blog/1606-ip-address-changes
The IP addresses have changed again.
github publishes the list of used IP addresses here so you can check the IP address in your message against github's list:
https://help.github.com/articles/about-github-s-ip-addresses/
Or more precisely:
https://api.github.com/meta
It looks like this (as I write this answer!):
verifiable_password_authentication true github_services_sha "4159703d573ee6f602e304ed25b5862463a2c73d" hooks 0 "192.30.252.0/22" 1 "185.199.108.0/22" git 0 "192.30.252.0/22" 1 "185.199.108.0/22" 2 "18.195.85.27/32" 3 "18.194.104.89/32" 4 "35.159.8.160/32" pages 0 "192.30.252.153/32" 1 "192.30.252.154/32" importer 0 "54.87.5.173" 1 "54.166.52.62" 2 "23.20.92.3"
If you are unsure whether your IP address is contained in the above list use an CIDR calculator like http://www.subnet-calculator.com/cidr.php to show the valid IP range.
E. g. for 140.82.112.0/20
the IP range is 140.82.112.0
- 140.82.127.255
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With