- ssh connection - haos_ova-9.5.vdi -

Hello, how can i enable ssh connection without “An USB Flash Drive”?

Home Assistant SSH Port 22222 (Root Zugriff HA OS) einrichten

Hermann

30.01.2023 um 11:19 Uhr

Hallo Simon, Danke für die Anleitung. Beim Raspberry Pi hat es genau so funktioniert. Analog geht es mit dem Stick auch bei einer VM. Ich habe erfolgreich nach dieser Anleitung gearbeitet. Jedoch mit VirtualBox auf meinem Laptop. USB-Gerät eingebunden und die “Hardware” über die Weboberfläche neu gestartet.

My Virtualbox 6.1 System: haos_ova-9.5.vdi

Thank you

henrya

Simon42: Home Assistant SSH Port 22222 (Root Zugriff HA OS) einrichten

Only template

henry@nuc:~$ ssh-keygen -t rsa -b 4096
Generating public/private rsa key pair.
Enter file in which to save the key (/home/henry/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/henry/.ssh/id_rsa
Your public key has been saved in /home/henry/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:i5r12dZfETwby0daoPZGfxxxxxxxxxxxRBonGJ+edF9M henry@nuc
The key's randomart image is:
+---[RSA 4096]----+
|              .  |
|    . . .   ...= |
|     = =   ooE+**|
|    . = o o.o++=X|
|       .S* . o**o|
|       ...o .. oo|
|      o .. o    .|
|     + ..oo .  . |
|    o   o+o  ..  |
+----[SHA256]-----+
henry@nuc:~$ ssh -i ~/.ssh/id_rsa  [email protected] -p 22222
The authenticity of host '[192.168.xxx.xxx]:22222 ([192.168.178.139]:22222)' can't be established.
ED25519 key fingerprint is SHA256:9IeZGCAsxxxxxxxxxxrRHFQ3esTRoIcunZpIyrq0W04.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[192.168.xxx.xxx]:22222' (ED25519) to the list of known hosts.
Welcome to Home Assistant OS.

Use `ha` to access the Home Assistant CLI.
# 

Thank’s all and Simon42