Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pexpect.pxssh.ExceptionPxssh: Could not establish connection to host #11

Open
ACrazyConcept opened this issue Oct 13, 2019 · 0 comments

Comments

@ACrazyConcept
Copy link

Upgraded my HA to 100.1 and now I can't connect:
I forgot how I made it work before...

2019-10-13 12:08:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform ssh
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/asyncio/coroutines.py", line 120, 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 137, in _connect
    password=self._password, port=self._port)
  File "/usr/local/lib/python3.7/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant