hassio-addons / addon-ssh

Advanced SSH & Web Terminal - Home Assistant Community Add-ons
https://addons.community
MIT License
345 stars 94 forks source link

Advanced SSH terminal cannot be started #745

Closed marty71bk closed 4 months ago

marty71bk commented 4 months ago

Problem/Motivation

After installation of the add-on I can start in. However if I want to open WEB UI the system responses with The add-on seems to not be ready, it might still be starting. Do you want to try again? Error 502: Bad gateway occurs

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

frenck commented 4 months ago

../Frenck

marty71bk commented 4 months ago

well. for predefined user HASSIO neither password nor authorized key has been populated.

I followed the guideline https://developers.home-assistant.io/docs/operating -system/debugging/ to generate authorized key with port 22222. 

With port 22222 i received following error:

Bind to port 22222 on 0.0.0.0 failed: Address in use. Bind to port 22222 on :: failed: Address in use.

With using the default port 22 I'm able to log with user HASSIO as well as root.

What I'm solving it, that the terminal does not know commands like sudo ..., make , apt-get etc. I need it to install HAT CAN module https://www.waveshare.com/wiki/2-CH_CAN_HAT with python and so on. I have HAOS installed on Raspberry PI 5 (not raspbian)


---------- Původní e-mail ---------- Od: Franck Nijhof @.> Komu: hassio-addons/addon-ssh @.> Kopie: marty71bk @.>, Author @.> Datum: 30. 5. 2024 17:25:25 Předmět: Re: [hassio-addons/addon-ssh] Advanced SSH terminal cannot be started (Issue #745) "

../Frenck

— Reply to this email directly, view it on GitHub (https://github.com/hassio-addons/addon-ssh/issues/745#issuecomment-2139933040) , or unsubscribe (https://github.com/notifications/unsubscribe-auth/BITCVAOW7G5SDZ5KZ43HAKTZE5AF5AVCNFSM6AAAAABIRDYEP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZHEZTGMBUGA) . You are receiving this because you authored the thread. Message ID: <hassio- @.***> "

frenck commented 4 months ago

well. for predefined user HASSIO neither password nor authorized key has been populated. I followed the guideline https://developers.home-assistant.io/docs/operating -system/debugging/ to generate authorized key with port 22222.

That is not related to this repository or add-on at all.

../Frenck