git - Push to remote on GitHub pointed to a new server IP instead -


i've no idea changed, in big surprise when tried push remote on github , went unknown ip instead.

[slavik@localhost guardonce]$ git push origin master warning: permanently added rsa host key ip address '192.30.252.128' list of known hosts. connection closed 192.30.252.128 fatal: not read remote repository. please make sure have correct access rights , repository exists. 

other tests suggest local machine's configuration fine. example:

[slavik@localhost guardonce]$ ssh -t git@github.com hi slavik81! you've authenticated, github not provide shell access. 

and

[slavik@localhost guardonce]$ git remote -v origin  git@github.com:slavik81/guardonce.git (fetch) origin  git@github.com:slavik81/guardonce.git (push) 

looking @ known_hosts, expected speaking github.com,204.232.175.90. so, why aren't i?

what has changed (august 25th, 2013) explained in "ip address changes":

we mentioned these new addresses back in april , updated meta api reflect them.
github services have have been migrated new addresses, including:

api.github.com gist.github.com ssh.github.com 

our next step begin using these ip addresses main github site, we're reminding change.
there few gotchas might affect people:

  • if have explicit firewall rules in place allow access github network, you'll want make sure of ip ranges listed in article included.

  • if have entry in /etc/hosts file points github.com @ specific ip address, should remove , instead rely on dns give accurate set of addresses.

  • if accessing repositories on ssh protocol, receive warning message each time client connects new ip address github.com.
    long ip address warning in range of ip addresses in mentioned page, shouldn't concerned.
    specifically, new addresses being added time in range 192.30.252.0 192.30.255.255.
    warning message looks this:

warning: permanently added rsa host key ip address '$ip' list of known hosts. 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -