I have a server (which I will now call the target server) that I can access 
via both Putty and WinSCP. The server runs Ubuntu and I want to access it 
using my home computer running Windows 10. 

I am trying to follow the documentation here: 
https://docs.spyder-ide.org/ipythonconsole.html and have installed 
anaconda, spyder, spyder-kernels, and paramiko on the target server using 
the terminal. 

However, when I start to follow the instructions to get a kernel started 
remotely I am confused. When I run the command 

> python -m spyder_kernels.console
>
 from the terminal (as the instructions say to) I get the following 
displayed on my kernel


> NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.
>
> To exit, you will have to explicitly quit this process, by either sending
> "quit" from a client, or using Ctrl-\ in UNIX-like environments.
>
> To read more about this, see https://github.com/ipython/ipython/issues/2049
>
>
> To connect another client to this kernel, use:
>     --existing kernel-24957.json
>

However I'm not able to figure out where to go from here. The documentation 
says "Copy the connection file (*jupyter/runtime/dir/path*/kernel-*pid*.json) 
to the machine you’re running Spyder on (if remote) or note its location 
(if local)." but I don't know what that means as the terminal is not 
returning any connection file address for me to specify. 

I have alternately just tried to type in my ssh login credentials by going 
to Consoles from spyder but I get the error "An error occured while trying 
to load the kernel connection file. The error was: Expecting value: line 1 
column 1 (char 0)".

So basically it looks like spyder is looking for a connection file and I 
have no idea where the connection file is being generated, whether the 
connection file is on the target server or my computer, nor how to let 
spyder know of its location.

Anyone else have luck running spyder remotely?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/ba0378b2-5736-4444-a0ac-b6de7d6a82c5o%40googlegroups.com.

Reply via email to