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?
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 ~/.
8.8 Address: 8.8. 8.8#53 Aliases: github.com has address 192.30. 253.112 github.com has address 192.30.
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
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