Here is the simplest solution:
ssh-keygen -R <host>
For example,
ssh-keygen -R 192.168.3.10
From the ssh-keygen
man page:
-R hostname
Removes all keys belonging to hostname from a known_hosts file. This option is useful to delete hashed hosts (see the -H option above).
More Related Contents:
- Multiple GitHub Accounts & SSH Config
- How do programs like gitolite work?
- Why does an SSH remote command get fewer environment variables then when run manually? [closed]
- Best way to use multiple SSH private keys on one client [closed]
- Vagrant stuck connection timeout retrying
- How to make ssh receive the password from stdin
- Automating command/script execution using PuTTY
- Bitvise SH Client Installation error. CreateDirectory() failed: Windows error 5: Access is denied
- SSH Key: “Permissions 0644 for ‘id_rsa.pub’ are too open.” on mac
- How to open remote files in sublime text 3
- Transferring files over SSH [closed]
- Adding a public key to ~/.ssh/authorized_keys does not log me in automatically
- How to solve “sign_and_send_pubkey: signing failed: agent refused operation”?
- VisualVM over ssh
- How to access SSH keys for a Google Cloud Platform Compute Engine VM instance?
- How to make ssh-add read passphrase from a file?
- TortoiseGit with openssh key not authenticating using ssh-agent
- proper way to sudo over ssh
- How to use Sublime over SSH
- What is the proper way to sudo over ssh?
- Can I forward env variables over ssh?
- Getting GitLab CI to clone private repositories
- How to SSH to a VirtualBox guest externally through a host? [closed]
- Convert PEM to PPK file format
- Possible reasons for timeout when trying to access EC2 instance
- Google server putty connect ‘Disconnected: No supported authentication methods available (server sent: publickey)
- Inject host’s SSH keys into Docker Machine with Docker Compose
- Unable to open X display when trying to run google-chrome on Centos (Rhel 7.5)
- VScode remote connection error: The process tried to write to a nonexistent pipe
- SSH to remote server using ansible