Skip to content

How to reset host authentication key for Chrome’s SSH extension

You may heard of the Secure Shell App by Google, that allows you to SSH into your servers and machines directly from your Chrome browser, without the need of installing third-party tools (on Windows, as Mac OS and Linux support ssh natively)

But sometimes, the connection fails, for example when your remote machine changed its IP address. In that case the app finds a conflict in the host authentication key. You can only reset them by opening the Developer Tools in Chrome and run the following command in the JavaScript console:

term_.command.removeAllKnownHosts()

Now you should be able to connect again.

Be First to Comment

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.