home-assistant.github.io/source/_addons/ssh.markdown
Luuk 78e14bfc1d Update ssh.markdown (#3069)
* Update ssh.markdown

Was not clear root is the username which has to be used.

* Update ssh.markdown
2017-07-28 20:54:33 +02:00

1.7 KiB

layout title description date sidebar comments sharing footer featured
page SSH Server Allow logging in remotely to Hass.io using SSH. 2017-04-30 13:28 true false true true true

Setting up an SSH server allows access to your Hass.io folders with any SSH client. It include also a command-line tool to access the Hass.io API. Try it out:

$ hassio help

This add-on will not enable you to install packages or do anything as root. This is not allowed with Hass.io.

To use this add-on, you must have a private/public key to log in. To generate them, follow the instructions for Windows and these for other platforms. It is possible to set a password for login since version 2.0 but for hight security use private/public keys. You can not run both variant at same time.

{
  "authorized_keys": [
    "ssh-rsa AKDJD3839...== my-key"
  ],
  "password": ""
}

The username for login over ssh is root.

Configuration variables:

  • authorized_keys (Optional): Your public-keys for authorized keyfile. Every element will be a line inside that file.
  • password (Optional): Set a password for login. We do not recommend this variant.

This add-on is not compatible if Hass.io was installed via the generic Linux installer.