Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: SSH and Remote Math Kernels

  • To: mathgroup at
  • Subject: [mg32701] Re: [mg32683] SSH and Remote Math Kernels
  • From: jmt <jmt at>
  • Date: Thu, 7 Feb 2002 05:09:26 -0500 (EST)
  • References: <>
  • Reply-to: jmt at
  • Sender: owner-wri-mathgroup at

Two things to do :
1- run an ssh-agent that keeps your passphrase in memory, (works either in 
ssh1.5 or ssh2, but the configurations are - as far as I remember - 
different), in order to avoid the task of having to send connection 
authentication information ;
2 - configure, either in your .Mathematica/4.0/FrontEnd/init.m file, or via 
the Kernel/KernelConfiguration menu, the parameters to the remote kernel(s). 
Here is an example from my init.m file :

  "Klumpf"->{RemoteMachine->True, TranslateReturns->True, \
AppendNameToCellLabel->True, MLOpenArguments->"-LinkMode Listen -LinkProtocol 
TCP -LinkOptions MLDontInteract", LoginScript->"ssh klumpf \"math\" -mathlink 
-LinkMode Connect -LinkProtocol TCP -LinkName \"`linkname`\""},

In this example, the machine klumpf is on a local network, and declared in 
the /etc/hosts file.

On Wednesday 06 February 2002 09:41, Eric Brown wrote:
> Dear Mathematica Users,
>     Could someone enlighten me on how to link (start up) a remote kernel
> with the ssh protocol? I run into a problem in that my password is required
> to log in to the remote machine...
> Thanking you in advance,
> Eric

  • Prev by Date: Re: Import variable and data
  • Next by Date: Re: The prime factors of n.
  • Previous by thread: SSH and Remote Math Kernels
  • Next by thread: Re: SSH and Remote Math Kernels