I lost my keys for the virtualbox emulator in the SDK.
They used to belong to SailfishOS/vmshare/ssh/private_keys/Sailfish_OS-Emulator-latest but they are not here anymore. We just have the keys for the build engine in private_keys.
Any idea, apart from opening the .vdi file and grabbing the keys from there?
All the authorized_keys for both the emulator and the build engine use the same key (SailfishOS/vmshare/ssh/private_keys/sdk).
Notice also that nemo user has now been replaced by defaultuser.
My bad: the FAQ | Sailfish OS Documentation was (of course) updated.
You could have also learned the SSH key path and other connection properties from Tools > Options > Sailfish OS > Emulator inside the IDE as well as from sfdk's output as in this example:
$ sfdk device list
#0 "Sailfish OS Emulator 4.3.0.12"
emulator autodetected defaultuser@127.0.0.1:2223
private-key: ~/tmp/SailfishOS/vmshare/ssh/private_keys/sdk
#1 "Xperia 10 II - Dual SIM (ARM 64bit)"
hardware-device user-defined defaultuser@192.168.2.15:22
private-key:
1 Like