Comments (6)
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.
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.
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.
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.
I'm happy with that :)
from home-assistant-addons.
Looks good! Thanks!
from home-assistant-addons.
Related Issues (14)
- Localhost.run - not getting the Sub-domain name from the log HOT 11
- Docker address of HA changed from 172.17.0.1 to 172.30.32.1 HOT 2
- repository.yaml HOT 3
- Home Assistant OS 9.5 changed IP subnet again HOT 15
- Can't install latest version
- Addon stops when connection/forwarding fails HOT 3
- AutoSSH - Local Forward Tunnel HOT 1
- AutoSSH installation fails HOT 2
- 400: Bad Request when trying to access HA from remote server (solved) HOT 2
- Error "s6-overlay-suexec: fatal: can only run as pid 1" HOT 3
- Can't connect anymore due to RSA drop in SSH 8.8 HOT 14
- When addon fails to connect on startup, it retries a number of times, and then gives up and stops HOT 5
- Channel 0: connection failed: Operation timed out HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-addons.