mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-06 10:16:49 +00:00
1.5 KiB
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