Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect remote server to spyder for running Python Code

Here is what I am trying to do. I have a Windows VM and another Linux VM which is used as server. I have Spyder installed on my Windows VM and would like to run my Python code in Spyder on remote Linux server.

I did try using option in Spyder called "Connect to remote kernel" but it did not work and I am getting error "Could not open ssh tunnel ; Paramiko not available". I was using username@servername:22 for making ssh connection. Needless to say, I am able to ssh the machine using putty but not using Spyder. Any ideas how should I fix this?

like image 377
ks2882 Avatar asked Jul 04 '26 07:07

ks2882


1 Answers

I found another way to make a connection to an external server, here is the link explaining step by step.

Basically, you have to connect your client PC to the server through a PuTTY SSH tunnel, it will allow to redirect the client ports to the correct ipython kernel server ports.

like image 169
Raphael Mazzine Avatar answered Jul 06 '26 20:07

Raphael Mazzine