RHF2S308 Enable SSH - helium-support/helium-miner-documentation GitHub Wiki

Purpose

To enable and allow SSH connections to the miner. Allows you to connect to the miner with it's IP instead of the diagnostic serial connection


Note: All commands are done on the miner through a terminal emulator (ie. PuTTY) using the serial port

Manually

sudo openssh

Enable on Boot

  1. Type sudo vi /etc/rc.local Enter
  2. Press i to begin insert mode
  3. Move your cursor to the end of the file, but before exit 0
  4. Add ./usr/local/sbin/openssh &
  5. Type :wq to write your changes and exit
  6. (optional) Type sudo reboot to test changes
    1. On next boot you should be able to SSH into the miner using it's IP

rc.local Example

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

./usr/local/sbin/openssh &
exit 0

Source