Site updated at 2017-11-03 22:59:24 UTC
This commit is contained in:
parent
45abb9be3c
commit
58beb42469
26 changed files with 72 additions and 71 deletions
|
@ -83,7 +83,7 @@
|
|||
This add-on will not enable you to install packages or do anything as root. This is not allowed with Hass.io.
|
||||
</p>
|
||||
<p>To use this add-on, you must have a private/public key to log in. To generate them, follow the <a href="https://www.digitalocean.com/community/tutorials/how-to-create-ssh-keys-with-putty-to-connect-to-a-vps">instructions for Windows</a> and <a href="https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/">these for other platforms</a>. 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.</p>
|
||||
<p>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.</p>
|
||||
<p>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.</p>
|
||||
<div class="language-json highlighter-rouge"><pre class="highlight"><code><span class="p">{</span><span class="w">
|
||||
</span><span class="nt">"authorized_keys"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
|
||||
</span><span class="s2">"ssh-rsa AKDJD3839...== my-key"</span><span class="w">
|
||||
|
@ -92,10 +92,11 @@ This add-on will not enable you to install packages or do anything as root. This
|
|||
</span><span class="p">}</span><span class="w">
|
||||
</span></code></pre>
|
||||
</div>
|
||||
<p>The username for login over ssh is <code class="highlighter-rouge">root</code>.</p>
|
||||
<p>The username for login over ssh is <code class="highlighter-rouge">root</code>. The complete login command is <code class="highlighter-rouge">ssh root@hassio.local</code>.</p>
|
||||
<p>After logging in, you will find yourself in this add-ons container. The Home Assistant configuration directory is mounted on the path <code class="highlighter-rouge">/config</code>.</p>
|
||||
<p>Configuration variables:</p>
|
||||
<ul>
|
||||
<li><strong>authorized_keys</strong> (<em>Optional</em>): Your public-keys for authorized keyfile. Every element will be a line inside that file.</li>
|
||||
<li><strong>authorized_keys</strong> (<em>Optional</em>): Your public keys for authorized keyfile. Every element will be a line inside that file.</li>
|
||||
<li><strong>password</strong> (<em>Optional</em>): Set a password for login. We do not recommend this variant.</li>
|
||||
</ul>
|
||||
<div class="videoWrapper">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue