# Ssh & web terminal ne se lance pas

**URL:** <https://forum.hacf.fr/t/ssh-web-terminal-ne-se-lance-pas/15817>\
**Category:** Entraide Home Assistant\
**Tags:** ssh\
**Created:** [Septembre 27, 2022, 4:03 UTC](https://forum.hacf.fr/t/ssh-web-terminal-ne-se-lance-pas/15817 "2022-09-27T16:03:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![emy](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/e/db5fbb/32.png) [@emy](https://forum.hacf.fr/u/emy)\
**Post date:** [Septembre 27, 2022, 4:03 UTC](https://forum.hacf.fr/t/ssh-web-terminal-ne-se-lance-pas/15817/1 "2022-09-27T16:03:47Z")

</div>

## Mon problème

Je n’arrive plus à lancer ssh, le voyant reste toujours rouge. J’ai pourtant l’impression que les logs sont bon. J’ai réinstallé un backup mais cela n’a rien solutionné.

## Mes logs

```auto
cont-init: info: running /etc/cont-init.d/mosquitto.sh
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/mysql.sh
cont-init: info: /etc/cont-init.d/mysql.sh exited 0
cont-init: info: running /etc/cont-init.d/ssh.sh
[15:53:33] WARNING: 
[15:53:33] WARNING: Logging in with a SSH password is security wise, a bad idea!
[15:53:33] WARNING: Please, consider using a public/private key pair.
[15:53:33] WARNING: What is this? https://kb.iu.edu/d/aews
[15:53:33] WARNING: 
cont-init: info: /etc/cont-init.d/ssh.sh exited 0
cont-init: info: running /etc/cont-init.d/user.sh
[15:53:37] NOTICE: Session sharing has been disabled!
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz
(1/17) Installing binutils (2.38-r3)
(2/17) Installing libmagic (5.41-r0)
(3/17) Installing file (5.41-r0)
(4/17) Installing libatomic (11.2.1_git20220219-r2)
(5/17) Installing gmp (6.2.1-r2)
(6/17) Installing isl22 (0.22-r0)
(7/17) Installing mpfr4 (4.1.0-r0)
(8/17) Installing mpc1 (1.2.1-r0)
(9/17) Installing gcc (11.2.1_git20220219-r2)
(10/17) Installing musl-dev (1.2.3-r0)
(11/17) Installing libc-dev (0.7.2-r3)
(12/17) Installing g++ (11.2.1_git20220219-r2)
(13/17) Installing make (4.3-r0)
(14/17) Installing fortify-headers (1.1-r1)
(15/17) Installing patch (2.7.6-r7)
(16/17) Installing build-base (0.5-r3)
(17/17) Installing gcc-zsh-completion (5.8.1-r4)
Executing busybox-1.35.0-r15.trigger
OK: 471 MiB in 204 packages
(1/1) Installing py3-wheel (0.37.1-r0)
Executing busybox-1.35.0-r15.trigger
OK: 472 MiB in 205 packages
Looking in links: https://wheels.home-assistant.io/musllinux/
Collecting catt
  Downloading catt-0.12.9-py3-none-any.whl (26 kB)
Collecting yt-dlp>=2022.6.22.1
  Downloading yt_dlp-2022.9.1-py2.py3-none-any.whl (2.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 303.5 kB/s eta 0:00:00
Collecting requests>=2.23.0
  Downloading requests-2.28.1-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 203.3 kB/s eta 0:00:00
Collecting click>=7.1.2
  Downloading click-8.1.3-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 301.4 kB/s eta 0:00:00
Collecting pychromecast<13,>=12.1.4
  Downloading PyChromecast-12.1.4-py2.py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.1/62.1 kB 338.3 kB/s eta 0:00:00
Collecting ifaddr>=0.1.7
  Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting casttube>=0.2.0
  Downloading casttube-0.2.1-py3-none-any.whl (6.5 kB)
Collecting zeroconf>=0.25.1
  Downloading zeroconf-0.39.1-py3-none-any.whl (106 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.3/106.3 kB 264.8 kB/s eta 0:00:00
Collecting protobuf<4,>=3.19.1
  Downloading protobuf-3.20.2-py2.py3-none-any.whl (162 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.1/162.1 kB 385.1 kB/s eta 0:00:00
Collecting charset-normalizer<3,>=2
  Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 324.0 kB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 315.6 kB/s eta 0:00:00
Collecting idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 359.3 kB/s eta 0:00:00
Collecting brotli
  Downloading https://wheels.home-assistant.io/musllinux/Brotli-1.0.9-cp310-cp310-musllinux_1_2_aarch64.whl (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 643.8 kB/s eta 0:00:00
Collecting websockets
  Downloading https://wheels.home-assistant.io/musllinux/websockets-10.3-cp310-cp310-musllinux_1_2_aarch64.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.8/97.8 kB 832.4 kB/s eta 0:00:00
Collecting mutagen
  Downloading mutagen-1.45.1-py3-none-any.whl (218 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 218.7/218.7 kB 393.0 kB/s eta 0:00:00
Collecting pycryptodomex
  Downloading https://wheels.home-assistant.io/musllinux/pycryptodomex-3.15.0-cp35-abi3-musllinux_1_2_aarch64.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 586.4 kB/s eta 0:00:00
Collecting async-timeout>=4.0.1
  Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Installing collected packages: ifaddr, brotli, websockets, urllib3, pycryptodomex, protobuf, mutagen, idna, click, charset-normalizer, certifi, async-timeout, zeroconf, yt-dlp, requests, casttube, pychromecast, catt
Successfully installed async-timeout-4.0.2 brotli-1.0.9 casttube-0.2.1 catt-0.12.9 certifi-2022.9.24 charset-normalizer-2.1.1 click-8.1.3 idna-3.4 ifaddr-0.2.0 mutagen-1.45.1 protobuf-3.20.2 pychromecast-12.1.4 pycryptodomex-3.15.0 requests-2.28.1 urllib3-1.26.12 websockets-10.3 yt-dlp-2022.9.1 zeroconf-0.39.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
cont-init: info: /etc/cont-init.d/user.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun sshd (no readiness notification)
services-up: info: copying legacy longrun ttyd (no readiness notification)
s6-rc: info: service legacy-services successfully started
[15:57:42] INFO: Starting the ttyd daemon...
[15:57:42] INFO: Starting the SSH daemon...
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.

```

## Ma configuration

* * *

## System Information

| version | core-2022.9.7 |
| --- | --- |
| installation\_type | Home Assistant OS |
| dev | false |
| hassio | true |
| docker | true |
| user | root |
| virtualenv | false |
| python\_version | 3.10.5 |
| os\_name | Linux |
| os\_version | 5.15.61-v8 |
| arch | aarch64 |
| timezone | Europe/Paris |
| config\_dir | /config |

> **Home Assistant Community Store**
>
> | GitHub API | ok |
> | --- | --- |
> | GitHub Content | ok |
> | GitHub Web | ok |
> | GitHub API Calls Remaining | 4847 |
> | Installed Version | 1.27.1 |
> | Stage | running |
> | Available Repositories | 1135 |
> | Downloaded Repositories | 22 |

> **Home Assistant Cloud**
>
> | logged\_in | false |
> | --- | --- |
> | can\_reach\_cert\_server | ok |
> | can\_reach\_cloud\_auth | ok |
> | can\_reach\_cloud | ok |

> **Home Assistant Supervisor**
>
> | host\_os | Home Assistant OS 9.0 |
> | --- | --- |
> | update\_channel | stable |
> | supervisor\_version | supervisor-2022.09.1 |
> | agent\_version | 1.3.0 |
> | docker\_version | 20.10.17 |
> | disk\_total | 109.3 GB |
> | disk\_used | 12.1 GB |
> | healthy | true |
> | supported | true |
> | board | rpi4-64 |
> | supervisor\_api | ok |
> | version\_api | ok |
> | installed\_addons | Samba share (10.0.0), File editor (5.4.1), Duck DNS (1.15.0), motionEye (0.18.0), Let’s Encrypt (4.12.7), ESPHome (2022.3.1), Home Assistant Google Drive Backup (0.108.4), Studio Code Server (5.4.0), SSH & Web Terminal (12.0.2) |

> **Dashboards**
>
> | dashboards | 1 |
> | --- | --- |
> | resources | 9 |
> | views | 11 |
> | mode | storage |

> **Recorder**
>
> | oldest\_recorder\_run | 16 septembre 2022 à 07:41 |
> | --- | --- |
> | current\_recorder\_run | 27 septembre 2022 à 17:13 |
> | estimated\_db\_size | 644.61 MiB |
> | database\_engine | sqlite |
> | database\_version | 3.38.5 |

> **Sonoff**
>
> | version | 3.2.0 (38856d1) |
> | --- | --- |
> | cloud\_online | 0 / 1 |
> | local\_online | 0 / 0 |

\_\_\_

---

<div class="post-metadata">

**Author:** ![ClassicRed](https://forum.hacf.fr/user_avatar/forum.hacf.fr/classicred/32/27071_2.png) [@ClassicRed](https://forum.hacf.fr/u/ClassicRed)\
**Post date:** [Septembre 27, 2022, 4:18 UTC](https://forum.hacf.fr/t/ssh-web-terminal-ne-se-lance-pas/15817/2 "2022-09-27T16:18:39Z")

</div>

Hello

Un petit bonjour pour commencé est sympa et merci !!! penses y la prochaine fois 😀

Celui ci fonctionné avant de faire quoi que ce soi ?  
Quand tu lance une backup ancienne , est ce que ssh / web terminal fonctionné ?

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Septembre 27, 2022, 4:35 UTC](https://forum.hacf.fr/t/ssh-web-terminal-ne-se-lance-pas/15817/3 "2022-09-27T16:35:40Z")

</div>

Bonjour, essaye ca. Ca fonctionner pour moi et d'autres utilisateurs.

> [@emy](#):
>
> J’ai réinstallé un backup mais cela n’a rien solutionné.

Il y a l'air d'avoir un problème avec la restauration d'un backup avec les modules.

> [@Boot impossible sur SSD - Raspberry Pi 3B](https://forum.hacf.fr/t/boot-impossible-sur-ssd-raspberry-pi-3b/10794/12):
>
> Puis j’ai fini par booter avec le SSD , pour installer HAOS et j’ai restaurer ma sauvegarde.  
> Tout est OK, ca ma prit 1h.
> 
> J’ai eu juste un soucis avec les addons qui ne démarrer pas, en cherchant je ne suis pas le seul [Addons not starting - #45 by GitBasHub - Configuration - Home Assistant Community](https://community.home-assistant.io/t/addons-not-starting/450322/45) et la solution d’arreter HA, débrancher du secteur, relancer HA et surtout vider le cache du navigateur pour homeassistant.local.

---

<div class="post-metadata">

**Author:** ![emy](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/e/db5fbb/32.png) [@emy](https://forum.hacf.fr/u/emy)\
**Post date:** [Septembre 28, 2022, 9:54 UTC](https://forum.hacf.fr/t/ssh-web-terminal-ne-se-lance-pas/15817/4 "2022-09-28T09:54:37Z")

</div>

Oui tu a raison, en voulant aller a l’essentiel j’en oublie mes bonnes manières 🫣  
Mon backup n’a pas réussit à relancer ssh/web terminal.  
Je viens de tester la méthode de @WarC0zes et cela fonctionne!!!  
Un grand merci à vous!!

---

<div class="post-metadata">

**Author:** ![emy](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/e/db5fbb/32.png) [@emy](https://forum.hacf.fr/u/emy)\
**Post date:** [Septembre 28, 2022, 9:56 UTC](https://forum.hacf.fr/t/ssh-web-terminal-ne-se-lance-pas/15817/5 "2022-09-28T09:56:17Z")

</div>

Merci beaucoup, cela à fonctionné!!  
J’ai débranché physiquement mon raspi, vidé mon cache et cela refonctionne!!  
Merci encore!!

---

<div class="post-metadata">

**Author:** ![ClassicRed](https://forum.hacf.fr/user_avatar/forum.hacf.fr/classicred/32/27071_2.png) [@ClassicRed](https://forum.hacf.fr/u/ClassicRed)\
**Post date:** [Septembre 28, 2022, 12:19 UTC](https://forum.hacf.fr/t/ssh-web-terminal-ne-se-lance-pas/15817/6 "2022-09-28T12:19:00Z")

</div>

Hello

Pas de souci, mais la prochaine fois une fessé , hein !! 🤣 🤣 🤣 🤣  
Bonne continuation

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Septembre 28, 2022, 1:23 UTC](https://forum.hacf.fr/t/ssh-web-terminal-ne-se-lance-pas/15817/7 "2022-09-28T13:23:42Z")

</div>

Je m’en doutais 😉  
Content que c’est fonctionner pour toi.
