Blog
Blog copied to clipboard
Howto SSH to HassOS
ATTENTION! By using these instructions you agree not to ask for support from Hass community for your current Hass installation.
Local way
Remote way
- Install SSH addon
- Add your key to addon config
username: root authorized_keys: - ssh-rsa AASDJKJKJFWJFAFLCNALCMLAK234234..... - Disable addon Protection mode option
- Open addon Web UI
~ cp /etc/ssh/authorized_keys /share ~ docker run -it --rm -v /root:/mnt/root -v /mnt/data/supervisor/share:/mnt/share bash cp /mnt/share/authorized_keys /mnt/root/.ssh ~ rm /share/authorized_keys ~ ha host reboot
Thats all. Now you have:
- SSH on port 22 - addon
- SSH on port 22222 - hassio host
Не могу попасть в Web UI. Не пускает пишет какую-то ерунду.