Created
July 5, 2018 22:05
-
-
Save kurtis318/dd51a081ff92616c00673e3c4db6b3cf to your computer and use it in GitHub Desktop.
Remove .ssh/known_hosts file on chromebook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have a chromebook and use the secure shell to log into remote servers. | |
I had to re-install a server because the Fedora server upgrade from version 27 to 28 and for some reason all my passwords got messed up. | |
This meant that the server has a new ssh key and when I try to access it from the secure shell app on my chromebook, I get and error about the server key not matching. | |
The solution is: | |
1. Keep the secure shell screen open to the error message. | |
2. Right button click on the title bar of the secure shell window. | |
3. Press Control-LeftShift-J to open a new console. | |
4. Be sure the console is at the "top" session. | |
5. Run this command: term_.command.removeAllKnownHosts() | |
Of course, this will delete the .ssh/known_hosts file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment