After a fresh install of the SDK, I can’t connect to the emulator, either to deploy an app from the IDE, or directly from the terminal with SSH.
I get this:
$ ssh -p 2223 -i ~/SailfishOS/vmshare/ssh/private_keys/sdk defaultuser@localhost ssh: connect to host localhost port 2223: Connection refused
Device list shows the emulator:
$ ./sfdk device list [D] SOFT ASSERT: "info.macs.count() > 1" in file ../../../../sailfish-qtcreator/src/libs/sfdk/emulator.cpp, line 472 #0 "Sailfish OS Emulator 18.104.22.168" emulator autodetected email@example.com:0 private-key: ~/SailfishOS/vmshare/ssh/private_keys/sdk