Giter Site home page Giter Site logo

Comments (6)

kszys avatar kszys commented on June 5, 2024

So... mystery solved, though I still have no clue why it was working before, and not any longer, as I have not made any changes on the server when it stopped working...

Anyway - the clue is in the statement: This account is currently not available. This message is apparently provided by the nologin shell. So it was sufficient to change the default shell for ha user to bash and magically everything works...

After some thinking, I decided that ha user should not really need a login shell on my server. So I changed the default shell back to nologin and added instead option -N in the additional options in autossh configuration - and it still works!

Again - why it worked before, but no any longer - no idea.

from home-assistant-addons.

ThomDietrich avatar ThomDietrich commented on June 5, 2024

Hey!
I am sorry, this might have been caused by a change here...
#1
The user needed the login shell to see relevant information. That's why I moved the -N from default to "additonal options", forgetting that users like you might be affected.

Btw your case sounds like you would benefit from he Docker based SSH daemon on the server, which I've described in DOCS.md

from home-assistant-addons.

kszys avatar kszys commented on June 5, 2024

You are probably right. I got to the bottom of it, so no issues. But perhaps it would be useful to document it a bit more explicitly - either use the -N option, or ensure the user has a shell defined.

For Docker - you are probably right, but I do not use Docker on my server, and I was too lazy to set it up just for this ;)

from home-assistant-addons.

ThomDietrich avatar ThomDietrich commented on June 5, 2024

The -N is part of the default options now: 07316f3
Of course existing users won't have that in their setup after a regular update. I will investigate ho to add a document with release notes for a home assistant addon and provide the info through that. It's not ideal but every user with an issue like yours will probably have a look at the version changes first. Agreed?

from home-assistant-addons.

ThomDietrich avatar ThomDietrich commented on June 5, 2024

image

I'm happy with that :)

from home-assistant-addons.

kszys avatar kszys commented on June 5, 2024

Looks good! Thanks!

from home-assistant-addons.

Related Issues (14)

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.