Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide method to delete known host entries for ssh hosts #1105

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

richteas75
Copy link
Contributor

to be used if the server key or algorithm was changed
A new menu entry is added in the HostList - when executed,
all known keys in the database for the corresponding host are
deleted.
resolves #477
resolves #586

to be used if the server key or algorithm was changed
A new menu entry is added in the HostList - when executed,
all known keys in the database for the corresponding host are
deleted.
resolves connectbot#477
resolves connectbot#586
@CLAassistant
Copy link

CLAassistant commented Apr 1, 2022

CLA assistant check
All committers have signed the CLA.

@mathias-ch1903
Copy link

I ran into the same issues, it seems that the feature is still missing in the latest 1.9.9 version, but I was not in the mood to recreate all my host entries.

The following procedure was working for me at least (root needed)

  • Stop the app connectbot
  • Copy the file /data/data/org.connectbot/databases/hosts to a user location
  • Open the sqlite db "hosts" with an sqlite editor (ie. aSQLiteManager, old but still working)
  • remove all entries from the table "knownhosts"
  • copy the "hosts" file back to the original location, overwrite
  • start connectbot again, connection is possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't delete old known_hosts No way to update known_hosts key after host key change
3 participants