Hi Jarko

Thanks for your answer.

I was trying to connect with my "old" keys:

ssh -p 2222  -i ~/.ssh/mer-qt-creator-rsa  nemo@localhost

ssh -p 2223  -i ~/.ssh/mer-qt-creator-rsa  nemo@localhost

That way I was able to connect to the emulator with user nemo, after also entering the password (nemo).

I guess the reason I was asked for a password was that I had the local half of the key, but the "other half" was not on the SDK / Emulator (essentially I was using the wrong key pair).


However following your advice, I can now connect passwordless to both the SDK (users mersdk and root) and the Emulator (users nemo and root) with the ssh commands below.

ssh -p 2222 -i ~/<SailfishOSInstallLocation>/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost

ssh -p 2222 -i ~/<SailfishOSInstallLocation>/vmshare/ssh/private_keys/engine/root root@localhost


ssh -p 2223 -i ~/<SailfishOSInstallLocation>/vmshare/ssh/private_keys/1/nemo nemo@localhost

ssh -p 2223 -i ~/<SailfishOSInstallLocation>/vmshare/ssh/private_keys/1/root root@localhost


Perhaps the wiki should be updated?

Chris



Zitat von "Jarko Vihriala" <jarko.vihri...@jolla.com>:

Hello,
Emulator changed a bit and the 'nemo' password is not default nemo anymore - I cannot even say it here as its generated per device.
However, to access emulator you can do:
ssh -p 2223 -i ~/SailfishOS/vmshare/ssh/private_keys/1/root root@localhost

or

ssh -p 2223 -i ~/SailfishOS/vmshare/ssh/private_keys/1/nemo nemo@localhost
. ..

thanks, Jarko


_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to