Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning: Permanently added the RSA host key for IP address # to the list of known hosts

Tags:

git

When I tried to do a git push I got this:

Warning: Permanently added the RSA host key for IP address '###.##.###.###' to the list of known hosts. ERROR: Repository not found. fatal: Could not read from remote repository.

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

What does it mean? Should I be worry?

like image 205
Ewwy Avatar asked Aug 27 '15 22:08

Ewwy


People also ask

How do I remove permanently added the RSA host key for my IP address?

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. 114.4' to the list of known hosts.", open the file ~/.

What is Github IP address?

8.8 Address: 8.8. 8.8#53 Aliases: github.com has address 192.30. 253.112 github.com has address 192.30.


1 Answers

Warning: Permanently added the RSA host key for IP address '###.##.###.###' to the list of known hosts.

This is normal if it is the first time you try push to the server, It is part of the ssh handshake and stores the fingerprint of the remote server ssh key for future validation.

ERROR: Repository not found. fatal: Could not read from remote repository.

This may happen if you have the wrong url to your remote repo.

Run git remote -v and check that you have the right urls to your remote repo

like image 194
joran Avatar answered Oct 14 '22 09:10

joran