Remove RSA key for ssh authorized hosts file

How to remove an ssh host by name or ip from your authorized hosts file.

 bash | 
 
 copy code |
?

1
ssh-keygen -R {server.example.com}
2
ssh-keygen -R {ssh.server.ip.address}