Site updated at 2017-06-19 13:24:28 UTC
This commit is contained in:
parent
fc6e373465
commit
1b9db6878c
26 changed files with 45 additions and 39 deletions
|
@ -71,6 +71,12 @@
|
|||
<h2><a class="title-link" name="ssh-access-to-the-host" href="#ssh-access-to-the-host"></a> SSH access to the host</h2>
|
||||
<p>Create an <code class="highlighter-rouge">authorized_keys</code> file in the root of your SD card with your public key. Once the device is booted, you can access your device as root over SSH on port 22222.</p>
|
||||
<p>Windows instructions how to generate and use private/public keys with Putty are <a href="https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-putty-on-digitalocean-droplets-windows-users">here</a>. Instead of the droplet instructions, add the public key as per above instructions.</p>
|
||||
<p>Alternative instructions, for Mac, Windows and Linux can be found <a href="https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#platform-mac">here</a>.</p>
|
||||
<p>Follow steps 1-4 under ‘Generating a new SSH key’ (The other sections are not applicable to Hass.io and can be ignored.)</p>
|
||||
<p>Step 3 in the link above, shows the path to the private key file <code class="highlighter-rouge">id_rsa</code> for your chosen operating system. Your public key, <code class="highlighter-rouge">id_rsa.pub</code>, is saved in the same folder. Next, copy your public key file to the root of your SD card.</p>
|
||||
<p class="note">
|
||||
Make sure when you are copying the public key to the root of the SD card that you rename the file correctly with no <code class="highlighter-rouge">.pub</code> file extension.
|
||||
</p>
|
||||
<h2><a class="title-link" name="checking-the-logs" href="#checking-the-logs"></a> Checking the logs</h2>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="c"># Logs from the supervisor service on the Host OS</span>
|
||||
journalctl -f -u resin-supervisor.service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue