Skip to content

Howto SSH to HassOS #3

@AlexxIT

Description

@AlexxIT

ATTENTION! By using these instructions you agree not to ask for support from Hass community for your current Hass installation.

Local way

USB drive

Remote way

  1. Install SSH addon
  2. Add your key to addon config
    username: root
    authorized_keys:
    - ssh-rsa AASDJKJKJFWJFAFLCNALCMLAK234234.....
  3. Disable addon Protection mode option
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions