What is the `known_hosts` file and the host key warning?
IntermediateConceptNetworking, SSH & Scheduling
Answer
On first connect, ssh stores the server's host public key in ~/.ssh/known_hosts. Later, if the server presents a different key, ssh aborts with WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! because it could be a man-in-the-middle. It is also normal after a rebuild or IP reuse in the cloud. Verify, then remove the old entry:
ssh-keygen -R 10.0.1.25
More on Networking, SSH & Scheduling
Which `ip` commands replace ifconfig, route and arp?BeginnerWhat does `ss` show, and which flags do you use?BeginnerExplain the TCP connection states you see in ss.AdvancedWhat happens, step by step, when you run `curl https://example.com`?AdvancedWhich curl flags are most useful for debugging?BeginnerHow do you use `dig` for DNS troubleshooting?Beginner