Skip to content

Stopped to connect via SSH #22

@Ikif

Description

@Ikif

I have HA on RP4 which trys to connect to RP3 with LibreELEC. Several month before it worked properly.

image

Logger: homeassistant.components.sensor
Source: custom_components/ssh/sensor.py:136
Integration: Сенсор (documentation, issues)
First occurred: 20:30:53 (1 occurrences)
Last logged: 20:30:53

Error while setting up ssh platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/asyncio/coroutines.py", line 124, in coro
res = func(*args, **kw)
File "/config/custom_components/ssh/sensor.py", line 48, in async_setup_platform
dev.append(SSHSensor(hass, config))
File "/config/custom_components/ssh/sensor.py", line 66, in init
self._connect()
File "/config/custom_components/ssh/sensor.py", line 136, in _connect
self._ssh.login(self._host, self._username,
File "/usr/local/lib/python3.9/site-packages/pexpect/pxssh.py", line 386, in login
raise ExceptionPxssh('Could not establish connection to host')
pexpect.pxssh.ExceptionPxssh: Could not establish connection to host

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions