Hi Carlos,
thanks for the reply.
I managed to connect to the remote kernel !! I did it this way, and then I'll ask you if it can be simpler :)
1. on the VM, I start a kernel with port set using the following command line:
ipython kernel --profile=spyder --ip 0.0.0.0 --control=11111 --shell=22222 --iopub=55555 --hb=33333 --stdin=44444 --ipython-dir=/home/vagrant/.ipython -f /vagrant/.ipython-kernel.json
2. i configured on the VM the corresponding forwarded port
3. in Spyder, I select connect to an existing kernel and I provide :
a. the json file located on the shared folder
b. I provide the <user>@<ip guest>:<port> to connect to the machine via SSH
c. I provide the password
This is working great. I have been able to automatise step 1 and 2 easily, so that I don't need to repeat these steps everytime I turn on my VM. However, evertime I start spyder on the host machine, I'll need to re-do step 3. Is there a way to automatize it at spyder start ?
Thks,
Serge