Skip to content

Commit 6bb6e02

Browse files
committed
Site updated at 2017-11-02 10:52:33 UTC
1 parent d954ee9 commit 6bb6e02

File tree

224 files changed

+1854
-1531
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+1854
-1531
lines changed

atom.xml

Lines changed: 69 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Home Assistant]]></title>
55
<link href="https://home-assistant.io/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-11-02T07:33:54+00:00</updated>
7+
<updated>2017-11-02T10:43:06+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>
@@ -13,6 +13,74 @@
1313
<generator uri="http://octopress.org/">Octopress</generator>
1414

1515

16+
<entry>
17+
<title type="html"><![CDATA[Home Assistant and SSH]]></title>
18+
<link href="https://home-assistant.io/blog/2017/11/02/secure-shell-tunnel/"/>
19+
<updated>2017-11-02T08:00:00+00:00</updated>
20+
<id>https://home-assistant.io/blog/2017/11/02/secure-shell-tunnel</id>
21+
<content type="html"><![CDATA[<p>Most system engineers are very familiar with <a href="https://en.wikipedia.org/wiki/Secure_Shell">SSH (Secure shell)</a>. This tool which contains a server part and a client part is used to access a remote system in a secure way. It can also help you if your are running Home Assistant but don’t want to expose it to the public. On a Linux system SSH is often available by default. If you are using a Windows installation additional steps are required which are not covered here.</p>
22+
23+
<p>In this blog post we are going to use the tunneling option of SSH to create a secure connection and forward the Home Assistant frontend to a local system.</p>
24+
25+
<!--more-->
26+
27+
<p>The involved parties are:</p>
28+
29+
<ul>
30+
<li><strong>Remote system</strong>: Where Home Assistant is running, usually in your home network.</li>
31+
<li><strong>Local system</strong>: Where you want to see the frontend.</li>
32+
</ul>
33+
34+
<p>The prerequirements are that you need to allow the forwarding of port 22 from your router to the system where Home Assistant is running in your network. It might also be needed that you enable the SSH daemon by <code class="highlighter-rouge">$ sudo systemctl start sshd</code> on the remote system and to adjust the host firewall. If you are running <a href="https://home-assistant.io/hassio/">Hass.io</a> then enable the <a href="https://home-assistant.io/addons/ssh/">SSH Server add-on</a>. You must also have a public IP address or hostname which can be provided by dynamic DNS (e.g., <a href="https://www.noip.com/">NO-IP</a> or <a href="https://www.duckdns.org/">DuckDNS</a>).
35+
On your local system you need only a SSH client and you need to be in a network where SSH is allowed.</p>
36+
37+
<p>First let’s have a look at the command we are going to use. Use <code class="highlighter-rouge">man ssh</code> to get more information.</p>
38+
39+
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>ssh -L 8000:localhost:8123 user@[IP_ADDRESS_REMOTE]
40+
| | | | | |
41+
| | | | | |_ IP address or hostname of your public interface.
42+
| | | | |_ Username on the remote system.
43+
| | | |_ Port where the application is running.
44+
| | |_ We want the frontend on this system.
45+
| |_ The port on our <span class="nb">local </span>system to use <span class="o">(</span>above 1024<span class="o">)</span>.
46+
|_ We want to <span class="k">do </span><span class="nb">local </span>port forwarding.
47+
</code></pre>
48+
</div>
49+
50+
<p>A possible example could look like the command below.</p>
51+
52+
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>ssh -L 8000:localhost:8123 ha@192.168.0.11
53+
</code></pre>
54+
</div>
55+
56+
<p>The first time you establish the connection you need to accept the fingerprint.</p>
57+
58+
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>The authenticity of host <span class="s1">'192.168.0.11 (192.168.0.11)'</span> can<span class="s1">'t be established.
59+
ECDSA key fingerprint is SHA256:asdf2faasd4gk45454fadr78wfadfasdfeg4vvvsae33.
60+
ECDSA key fingerprint is MD5:44:d4:f7:44:d4:aa:b8:de:ef:09:3e:0d:4e:12:11:09.
61+
Are you sure you want to continue connecting (yes/no)?
62+
Warning: Permanently added '</span>192.168.0.162<span class="s1">' (ECDSA) to the list of known hosts.
63+
ha@192.168.0.11'</span>s password:
64+
Last login: Fri Oct 27 17:50:09 2017
65+
<span class="o">[</span>ha@home-assistant ~]<span class="nv">$ </span>
66+
</code></pre>
67+
</div>
68+
69+
<p>Now you are able to use your frontend on your local system: <a href="http://localhost:8000">http://localhost:8000</a></p>
70+
71+
<p>Things to keep in mind:</p>
72+
73+
<ul>
74+
<li>You need a public IP address or hostname (Dynamic DNS will work) if you want to use it from the internet.</li>
75+
<li>You need to setup port forwarding on your router.</li>
76+
<li>Don’t allow <code class="highlighter-rouge">root</code> to use SSH. Set <code class="highlighter-rouge">PermitRootLogin no</code> on the remote system.</li>
77+
<li>Your local port must be above 1024. Only <code class="highlighter-rouge">root</code> is allowed to forward privileged ports which are below 1024.</li>
78+
<li>Use <a href="https://docs-old.fedoraproject.org/en-US/Fedora/14/html/Deployment_Guide/s2-ssh-configuration-keypairs.html">SSH keys for authentication</a> instead of passwords to avoid bruteforce attacks.</li>
79+
</ul>
80+
81+
]]></content>
82+
</entry>
83+
1684
<entry>
1785
<title type="html"><![CDATA[Home Assistant Demo]]></title>
1886
<link href="https://home-assistant.io/blog/2017/10/28/demo/"/>
@@ -1851,77 +1919,6 @@ Screenshot of the new customize editor.
18511919
<p><a href="https://talkpython.fm/episodes/show/122/home-assistant-pythonic-home-automation">
18521920
Visit the episode page on Talk Python
18531921
</a></p>
1854-
]]></content>
1855-
</entry>
1856-
1857-
<entry>
1858-
<title type="html"><![CDATA[Introducing Hass.io]]></title>
1859-
<link href="https://home-assistant.io/blog/2017/07/25/introducing-hassio/"/>
1860-
<updated>2017-07-25T00:02:05+00:00</updated>
1861-
<id>https://home-assistant.io/blog/2017/07/25/introducing-hassio</id>
1862-
<content type="html"><![CDATA[<p><strong>TL;DR:</strong> Today we’re introducing <a href="/hassio">Hass.io</a>. Hass.io is an operating system that will take care of installing and updating Home Assistant, is managed from the Home Assistant UI, allows creating/restoring snapshots of your configuration and can easily be extended using <a href="/addons/">Hass.io add-ons</a> including <a href="/addons/google_assistant/">Google Assistant</a> and <a href="/addons/lets_encrypt/">Let’s Encrypt</a>.</p>
1863-
1864-
<hr />
1865-
1866-
<p>Home Assistant is 2 months away from being 4 years old. In that time the Internet of Things has really taken off and we’ve seen many new devices and services. We saw the introduction of voice assistants like Google Home and new standards like Apple HomeKit.</p>
1867-
1868-
<p>Some things have been supported natively in Home Assistant, others have been integrated into Home Assistant via third party applications. All these moving parts caused our users to spend a lot of time maintaining their systems and applications instead of automating their homes.</p>
1869-
1870-
<p>So we decided to take a step back from day-to-day Home Assistant development and see if we could offer a solution that makes updating a breeze for our users. A solution that you can flash to your Raspberry Pi and no longer worry about. A solution that would still be local first and respect the user’s privacy.</p>
1871-
1872-
<p>And this is how <a href="https://github.com/pvizeli/">Pascal Vizeli</a> came up with Hass.io, an operating system based on <a href="https://resinos.io/">ResinOS</a> and <a href="https://www.docker.com/">Docker</a>. Hass.io will take care of installing and updating Home Assistant, is managed from the Home Assistant UI, allows taking/restoring snapshots of your configuration and can easily be extended using <a href="/addons/">Hass.io add-ons</a>.</p>
1873-
1874-
<p class="img">
1875-
<img src="/images/hassio/screenshots/dashboard.png" />
1876-
Hass.io dashboard
1877-
</p>
1878-
1879-
<p>To install add-ons, a user can browse the built-in add-on store and install, configure and update any available application. Want to turn your device into a Google Assistant or make your configuration accessible via Samba/Windows networking? Both are a couple of clicks away! (<a href="https://youtu.be/NfyavpAg4as">Video demo - 38s, no audio</a>)</p>
1880-
1881-
<p>At launch we have included a couple of <a href="/addons/">built-in add-ons</a> like <a href="/addons/google_assistant/">Google Assistant</a>, <a href="/addons/lets_encrypt/">Let’s Encrypt</a> and <a href="/addons/duckdns/">Duck DNS</a>. Besides our internal add-ons, it is also possible to create and share your own add-on repositories. During our beta period we’ve already seen some great add-ons being shared: <a href="https://community.home-assistant.io/t/repository-homebridge-add-on/18569">Homebridge</a>, <a href="https://community.home-assistant.io/t/repository-bestlibre-addons-repository/18037">InfluxDB</a>, <a href="https://community.home-assistant.io/t/repository-hass-configurator/17838">HASS Configurator</a> and <a href="https://community.home-assistant.io/t/repository-few-addons/20659">AppDaemon</a>.</p>
1882-
1883-
<p>As we strongly believe in the openness of technology, we are releasing Hass.io as <a href="https://github.com/home-assistant/hassio">open source</a> under the Apache 2.0 license. That way any user can make sure that the code that runs in their homes is secure and safe.</p>
1884-
1885-
<ul>
1886-
<li><a href="/hassio">Learn more about Hass.io</a></li>
1887-
<li><a href="/hassio/installation">Install Hass.io</a></li>
1888-
<li><a href="/addons/">Available add-ons</a></li>
1889-
</ul>
1890-
1891-
<p><em>Some frequently asked questions are answered below in the read more section.</em></p>
1892-
1893-
<div class="videoWrapper">
1894-
<iframe width="560" height="315" src="https://www.youtube.com/embed/XWPluWcYRMI" frameborder="0" allowfullscreen=""></iframe>
1895-
</div>
1896-
1897-
<p>Hass.io has been built by <a href="https://github.com/pvizeli/">Pascal Vizeli</a>, the UI has been made by <a href="https://github.com/balloob/">Paulus Schoutsen</a> and <a href="https://www.youtube.com/channel/UCLecVrux63S6aYiErxdiy4w">BRUHAutomation</a> made the introduction video. Big thanks to <a href="https://resin.io">Resin.io</a> for building ResinOS and helping us get started with it. Also a big thanks to the community for early feedback, helping out with the documentation and add-on development ❤️</p>
1898-
1899-
<!--more-->
1900-
1901-
<h4><a class="title-link" name="will-hassio-be-the-only-way-to-run-home-assistant" href="#will-hassio-be-the-only-way-to-run-home-assistant"></a> Will Hass.io be the only way to run Home Assistant?</h4>
1902-
1903-
<p>Hass.io is and will always be optional. You can still run Home Assistant wherever you can run Python.</p>
1904-
1905-
<h4><a class="title-link" name="which-devices-are-supported-at-launch" href="#which-devices-are-supported-at-launch"></a> Which devices are supported at launch?</h4>
1906-
1907-
<p>Initially we support the Raspberry Pi 1, 2, 3 and Intel NUC. Advanced users can also <a href="/hassio/installation/#alternative-install-on-generic-linux-server">install Hass.io on a Linux server</a>.</p>
1908-
1909-
<h4><a class="title-link" name="can-i-install-packages-or-scripts-on-the-machine" href="#can-i-install-packages-or-scripts-on-the-machine"></a> Can I install packages or scripts on the machine?</h4>
1910-
1911-
<p>No, this is not possible as we’re using stateless Docker containers. To install a package you’ll have to write a local add-on that interacts with Home Assistant. See <a href="/hassio/run_local/">our tutorial</a>.</p>
1912-
1913-
<h4><a class="title-link" name="can-i-restore-a-snapshot-on-a-different-device" href="#can-i-restore-a-snapshot-on-a-different-device"></a> Can I restore a snapshot on a different device?</h4>
1914-
1915-
<p>Yes, any Hass.io snapshot can be restored on any device.</p>
1916-
1917-
<h4><a class="title-link" name="the-hassio-configuration-panel-contains-powerful-tools-why-is-there-no-extra-security-besides-the-home-assistant-login" href="#the-hassio-configuration-panel-contains-powerful-tools-why-is-there-no-extra-security-besides-the-home-assistant-login"></a> The Hass.io configuration panel contains powerful tools. Why is there no extra security besides the Home Assistant login?</h4>
1918-
1919-
<p>This is in the works. We have already implemented <a href="https://github.com/home-assistant/hassio/pull/41">the backend</a> and plan to release the UI soon.</p>
1920-
1921-
<h4><a class="title-link" name="is-there-a-roadmap" href="#is-there-a-roadmap"></a> Is there a roadmap?</h4>
1922-
1923-
<p>We use <a href="https://www.pivotaltracker.com/n/projects/2020851">Pivotal Tracker</a> to track things that are in progress and what we might work on.</p>
1924-
19251922
]]></content>
19261923
</entry>
19271924

blog/2014/12/18/website-launched/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ <h1 class="title delta">Share this post</h1>
128128
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
129129
<h1 class="title delta">Recent Posts</h1>
130130
<ul class="divided">
131+
<li class="post">
132+
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
133+
</li>
131134
<li class="post">
132135
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
133136
</li>
@@ -140,9 +143,6 @@ <h1 class="title delta">Recent Posts</h1>
140143
<li class="post">
141144
<a href="/blog/2017/10/18/hasspodcast-ep-10/">Home Assistant Podcast #10</a>
142145
</li>
143-
<li class="post">
144-
<a href="/blog/2017/10/15/templating-date-time/">Templates, dates and times</a>
145-
</li>
146146
</ul>
147147
</section>
148148
</div>

blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ <h1 class="title delta">Share this post</h1>
162162
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
163163
<h1 class="title delta">Recent Posts</h1>
164164
<ul class="divided">
165+
<li class="post">
166+
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
167+
</li>
165168
<li class="post">
166169
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
167170
</li>
@@ -174,9 +177,6 @@ <h1 class="title delta">Recent Posts</h1>
174177
<li class="post">
175178
<a href="/blog/2017/10/18/hasspodcast-ep-10/">Home Assistant Podcast #10</a>
176179
</li>
177-
<li class="post">
178-
<a href="/blog/2017/10/15/templating-date-time/">Templates, dates and times</a>
179-
</li>
180180
</ul>
181181
</section>
182182
</div>

blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ <h1 class="title delta">Share this post</h1>
152152
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
153153
<h1 class="title delta">Recent Posts</h1>
154154
<ul class="divided">
155+
<li class="post">
156+
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
157+
</li>
155158
<li class="post">
156159
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
157160
</li>
@@ -164,9 +167,6 @@ <h1 class="title delta">Recent Posts</h1>
164167
<li class="post">
165168
<a href="/blog/2017/10/18/hasspodcast-ep-10/">Home Assistant Podcast #10</a>
166169
</li>
167-
<li class="post">
168-
<a href="/blog/2017/10/15/templating-date-time/">Templates, dates and times</a>
169-
</li>
170170
</ul>
171171
</section>
172172
</div>

blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ <h1 class="title delta">Share this post</h1>
135135
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
136136
<h1 class="title delta">Recent Posts</h1>
137137
<ul class="divided">
138+
<li class="post">
139+
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
140+
</li>
138141
<li class="post">
139142
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
140143
</li>
@@ -147,9 +150,6 @@ <h1 class="title delta">Recent Posts</h1>
147150
<li class="post">
148151
<a href="/blog/2017/10/18/hasspodcast-ep-10/">Home Assistant Podcast #10</a>
149152
</li>
150-
<li class="post">
151-
<a href="/blog/2017/10/15/templating-date-time/">Templates, dates and times</a>
152-
</li>
153153
</ul>
154154
</section>
155155
</div>

blog/2015/01/13/nest-in-da-house/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ <h1 class="title delta">Share this post</h1>
139139
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
140140
<h1 class="title delta">Recent Posts</h1>
141141
<ul class="divided">
142+
<li class="post">
143+
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
144+
</li>
142145
<li class="post">
143146
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
144147
</li>
@@ -151,9 +154,6 @@ <h1 class="title delta">Recent Posts</h1>
151154
<li class="post">
152155
<a href="/blog/2017/10/18/hasspodcast-ep-10/">Home Assistant Podcast #10</a>
153156
</li>
154-
<li class="post">
155-
<a href="/blog/2017/10/15/templating-date-time/">Templates, dates and times</a>
156-
</li>
157157
</ul>
158158
</section>
159159
</div>

blog/2015/01/24/release-notes/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ <h1 class="title delta">Share this post</h1>
145145
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
146146
<h1 class="title delta">Recent Posts</h1>
147147
<ul class="divided">
148+
<li class="post">
149+
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
150+
</li>
148151
<li class="post">
149152
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
150153
</li>
@@ -157,9 +160,6 @@ <h1 class="title delta">Recent Posts</h1>
157160
<li class="post">
158161
<a href="/blog/2017/10/18/hasspodcast-ep-10/">Home Assistant Podcast #10</a>
159162
</li>
160-
<li class="post">
161-
<a href="/blog/2017/10/15/templating-date-time/">Templates, dates and times</a>
162-
</li>
163163
</ul>
164164
</section>
165165
</div>

blog/2015/02/08/looking-at-the-past/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ <h1 class="title delta">Share this post</h1>
150150
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
151151
<h1 class="title delta">Recent Posts</h1>
152152
<ul class="divided">
153+
<li class="post">
154+
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
155+
</li>
153156
<li class="post">
154157
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
155158
</li>
@@ -162,9 +165,6 @@ <h1 class="title delta">Recent Posts</h1>
162165
<li class="post">
163166
<a href="/blog/2017/10/18/hasspodcast-ep-10/">Home Assistant Podcast #10</a>
164167
</li>
165-
<li class="post">
166-
<a href="/blog/2017/10/15/templating-date-time/">Templates, dates and times</a>
167-
</li>
168168
</ul>
169169
</section>
170170
</div>

blog/2015/02/24/streaming-updates/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ <h1 class="title delta">Share this post</h1>
136136
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
137137
<h1 class="title delta">Recent Posts</h1>
138138
<ul class="divided">
139+
<li class="post">
140+
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
141+
</li>
139142
<li class="post">
140143
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
141144
</li>
@@ -148,9 +151,6 @@ <h1 class="title delta">Recent Posts</h1>
148151
<li class="post">
149152
<a href="/blog/2017/10/18/hasspodcast-ep-10/">Home Assistant Podcast #10</a>
150153
</li>
151-
<li class="post">
152-
<a href="/blog/2017/10/15/templating-date-time/">Templates, dates and times</a>
153-
</li>
154154
</ul>
155155
</section>
156156
</div>

blog/2015/03/01/home-assistant-migrating-to-yaml/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ <h1 class="title delta">Share this post</h1>
130130
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
131131
<h1 class="title delta">Recent Posts</h1>
132132
<ul class="divided">
133+
<li class="post">
134+
<a href="/blog/2017/11/02/secure-shell-tunnel/">Home Assistant and SSH</a>
135+
</li>
133136
<li class="post">
134137
<a href="/blog/2017/10/28/demo/">Home Assistant Demo</a>
135138
</li>
@@ -142,9 +145,6 @@ <h1 class="title delta">Recent Posts</h1>
142145
<li class="post">
143146
<a href="/blog/2017/10/18/hasspodcast-ep-10/">Home Assistant Podcast #10</a>
144147
</li>
145-
<li class="post">
146-
<a href="/blog/2017/10/15/templating-date-time/">Templates, dates and times</a>
147-
</li>
148148
</ul>
149149
</section>
150150
</div>

0 commit comments

Comments
 (0)