SSH: Connection refused directly after LibreELEC installation

  • Hi all,

    I just got my Pi3 and installed LibreELEC via the LibreELEC USB-SD Creator tool, which worked absolutely fine.

    The Pi is pingable in my local network (hooked up via cable) and accessable via smb. However, if I try to connect via SSH (using verbose mode) I get the following error:

    Code
    rheinFrohnatur:~ rheinFrohnatur$ ssh -v [email protected]
    OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
    debug1: Reading configuration data /etc/ssh_config
    debug1: /etc/ssh_config line 20: Applying options for *
    debug1: /etc/ssh_config line 102: Applying options for *
    debug1: Connecting to 192.168.5.106 [192.168.5.106] port 22.
    debug1: connect to address 192.168.5.106 port 22: Connection refused
    ssh: connect to host 192.168.5.106 port 22: Connection refused


    Any ideas what I am doing wrong and how I can fix the situation?

    Cheers
    rheinFrohnatur


  • Sorry for beeing so stupid, didn't notice I had to turn on SSH.

    Now it works like a charm!


    [hr]


    Obvious question:
    Have You turned SSH on in Libreelec settings? (settings, Libreelec, services)
    Can You ping "192.168.5.106" from Your computer?

    Hi, I have a comparable access problem with ssh turned on:

    I could access before, but after a new install I do not get in.
    Any hints?

    Edited once, last by my68_ (October 15, 2016 at 5:42 PM).

  • They key has changed, (most likely because the ip address has changed.

    Just remove the offending key in ~/.ssh/known_hosts like it says to do. This file will be on the computer you are SSHing from, not the LibreELEC device.