Skip to content

Commit 045c032

Browse files
cstuderfabaff
authored andcommitted
Some additional information (home-assistant#3882)
About the public key format, how to login and what you'll find once you get there.
1 parent 86eee72 commit 045c032

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

source/_addons/ssh.markdown

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: "SSH Server"
44
description: "Allow logging in remotely to Hass.io using SSH."
5-
date: 2017-04-30 13:28
5+
date: 2017-11-03 22:25
66
sidebar: true
77
comments: false
88
sharing: true
@@ -22,7 +22,7 @@ This add-on will not enable you to install packages or do anything as root. This
2222

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

25-
In order to start this add-on for the first time, you either need to include an ssh key (enclosed in quotation marks) or set a password in the options section.
25+
In order to start this add-on for the first time, you either need to include an ssh key (enclosed in quotation marks, on a single line without line breaks) or set a password in the options section.
2626

2727
```json
2828
{
@@ -33,11 +33,13 @@ In order to start this add-on for the first time, you either need to include an
3333
}
3434
```
3535

36-
The username for login over ssh is `root`.
36+
The username for login over ssh is `root`. The complete login command is `ssh root@hassio.local`.
37+
38+
After logging in, you will find yourself in this add-ons container. The Home Assistant configuration directory is mounted on the path `/config`.
3739

3840
Configuration variables:
3941

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

4345

0 commit comments

Comments
 (0)