To remove a specific host from the SSH known_hosts list. we can use the below command:
If we want to remove non-standard ssh port, then we can use this format
ssh-keygen -R hostname
Instead of hostname, we can directly use the IP also.If we want to remove non-standard ssh port, then we can use this format
ssh-keygen -R [ssh.xxx.com]:[port no]
No comments:
Post a Comment