Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Howto SSH to HassOS #3

Open
AlexxIT opened this issue Sep 13, 2022 · 1 comment
Open

Howto SSH to HassOS #3

AlexxIT opened this issue Sep 13, 2022 · 1 comment

Comments

@AlexxIT
Copy link
Owner

AlexxIT commented Sep 13, 2022

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
@FreeBOY86
Copy link

Не могу попасть в Web UI. Не пускает пишет какую-то ерунду.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants