Message Boards Message Boards

Tunnel a remote Wolfram Language kernel connection through ssh?

Posted 7 years ago

I am unable to connect to a remote kernel using the default procedure as documented in "How to | Connect to a Remote Kernel." It seem that the an ssh connection is made to the remote server, however the remote server then attempts to make a direct connection back to the client using an IP address and multiple dynamically assigned ports. This fails for a number of reasons. The client has a firewall. In addition, the client is connected over a VPN and routed via NAT which make it difficult to route back by IP address.

Creating a manual connection using the procedure as documented in "Quick Answer How do I manually create a remote Wolfram Language kernel connection?" also fails. It that case, I manually made an ssh connect to the remote system with -R flags for the remote ports. Unfortunately, the remote wolfram instance still fails to connect to those localhost ports.

Please let me know if you have any suggestions for connecting a Mathematica client and remote kernel through ssh.

Test System: Wolfram Mathematica 11.1.1 Kernel for Linux x86 (64-bit)

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract