Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: SSH Remote Kernel on Windows - Can it be done?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56112] Re: SSH Remote Kernel on Windows - Can it be done?
  • From: Antti Penttilä@smc.vnet.net
  • Date: Fri, 15 Apr 2005 04:48:45 -0400 (EDT)
  • Organization: University of Helsinki
  • References: <d3lrlm$sad$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

You don't say what's the client machine, is it Windows too?

If you have SSH working with keypairs so it doesn't ask password, the remote kernel connection should be possible (if you don't have any firewalls between the machines!).

You could try to work you way towards the solution by starting the remote kernel first manually. In these cases, it might be best to define beforehand the port number for mathlink-connection. In the server end, the command could look something like this:

math.exe -mathlink -LinkMode Listen -LinkProtocol TCP -LinkName 3500

and in the client end, arguments to MLOpen could be:

-LinkMode Connect -LinkProtocol TCP -LinkOptions MLDontInteract -LinkName 3500 at your.server.name

Shell commend to launch kernel:
Empty at this point.

First start the serverpart manually, then try to start the remote kernel from mathematica. If this works, write the SSH-command with math.exe etc. to 'Shell command to launch kernel'-box. If it doesn't work, try to change the roles of the machines (Listen-Connect) and remember to start always first the one that 'listens'

Antti

-- 
   Antti Penttilä       Antti.I.Penttila at helsinki.fi.removethis


  • Prev by Date: Re: Position different in 5.0 and 5.1?
  • Next by Date: Re: Position different in 5.0 and 5.1?
  • Previous by thread: SSH Remote Kernel on Windows - Can it be done?
  • Next by thread: Re: Re: SSH Remote Kernel on Windows - Can it be done?