MathGroup Archive 2003

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

Search the Archive

Running ssh in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39895] Running ssh in Mathematica
  • From: Sirko Straube <straube at biologie.uni-freiburg.de>
  • Date: Sun, 9 Mar 2003 18:41:14 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I am trying to run ssh (with background-option -f) from within 
Mathematica 4.2 to start a program on a remote computer, which I need.
The command I use is:

Run["ssh -X -f username at machinename.de execute-command"]

If there is no password check of ssh, there is no problem, but if ssh is 
asking for a password, this is prompted to the console from which 
mathematica was started and the kernel has a hang up, because ssh is not 
able to finish.
I know I managed mathematica to open a small interactive window, in 
which you could enter the password, and so it worked, but I am not able 
to reproduce this, although I've changed nothing in my configuration.
Can you tell me, if it is possible to run ssh from within Mathematica 
with a password check.

I am thankful for help

Sirko Straube

P.S.: I am using ssh-Version: OpenSSH_3.4p1, SSH protocols 1.5/2.0, 
OpenSSL 0x0090602f




  • Prev by Date: Re: What is the function doing
  • Next by Date: Re: What is the function doing
  • Previous by thread: Re: Help with Format Background Color Cell Gray Box
  • Next by thread: Re: Running ssh in Mathematica