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
- Type
sudo vi /etc/rc.localEnter - Press
ito begin insert mode - Move your cursor to the end of the file, but before exit 0
- Add
./usr/local/sbin/openssh & - Type
:wqto write your changes and exit - (optional) Type
sudo rebootto test changes- 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