ciotlosm 52ab99289d Use sshfs example (#2871)
* Use sshfs 

Example how to use sshfs instead of using samba.

* Update format
2017-06-23 22:03:01 +02:00

1.5 KiB

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

Setting up an SSH server allows access to your Hass.io folders with any SSH client. 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.

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

Configuration variables:

  • authorized_keys (Required): Your public-keys for authorized keyfile. Every element will be a line inside that file.

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

If you're coming from Rasbian or similar, use root rather than pi when connecting via ssh or else you will get this error.

Permission denied (publickey,keyboard-interactive)

If you install this addon you can use `sshfs` as well to access files from a remote system where you have git and your favourite editing tools installed.

$ mkdir ~/ha_config
$ sshfs -o allow_other,defer_permissions root@h[your_hassio_ip]:/config ~/ha_config