Then locate the correct command to clear the old key from your distro's manual.
In Ubuntu it's:
ssh-keygen -f "/home/user/.ssh/known_hosts" -R "192.168.1.1"
Also see: https://www.man7.org/linux/man-pages/man1/ssh-keygen.1.html
Then locate the correct command to clear the old key from your distro's manual.
In Ubuntu it's:
ssh-keygen -f "/home/user/.ssh/known_hosts" -R "192.168.1.1"
Also see: https://www.man7.org/linux/man-pages/man1/ssh-keygen.1.html