How to clear /.ssh/known_hosts for chrome/chromium ssh extension

How to clear /.ssh/known_hosts for chrome/chromium ssh extension

Open the extension and go to the developer console (Press F12).
Go to the console tab and type:

term_.command.removeKnownHostByIndex(index)

To clear a specific known host.

Or type

term_.command.removeAllKnownHosts()

to clear all known hosts.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.