Giter Site home page Giter Site logo

Comments (2)

BClark09 avatar BClark09 commented on June 18, 2024

IRT the known hosts changing:

I think this can be checked before the uninstall completes, although because the file isn't generated by apt or by openHAB the uninstaller shouldn't touch it. Only advise that it exists and that it it's advisable to remove when reinstalling. So:

  1. On uninstall check if a known host exists at [localhost]:8443
  2. If it does send a message to the user mentioning this.

I also agree that a mention of this problem should be in the docs, it will affect manual users as well as automatic users as soon as Karaf is changed and ssh is used to connect to console. @ThomDietrich, do you have any thoughts on this?

from openhab-linuxpkg.

BClark09 avatar BClark09 commented on June 18, 2024

Hi @Josar, after some trials I came to the conclusion that it would not be viable to do anything during uninstallation about this because:

  1. The known-hosts file is produced by ssh tools, not by openHAB. And implementations of this change between versions.
  2. The ssh command wouldn't have necessarily been sent from the localhost.
  3. openHAB is installed as a program but the known-hosts file belongs to the user, it would be difficult to go through any user who may have used ssh and find a known-hosts file.
  4. Perhaps the most appropriate way of connecting to the console is by using the openhab-cli console command that makes it's way to openHAB 2.2.0 soon.

I will be sure to set expectations by updating the docs about what may happen though, and hope that this resolves the issue for you.

Kind Regards,
Ben

from openhab-linuxpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.