MathGroup Archive 2003

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

Search the Archive

Re: Running ssh in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39901] Re: Running ssh in Mathematica
  • From: atelesforos at hotmail.com (Orestis Vantzos)
  • Date: Tue, 11 Mar 2003 02:36:14 -0500 (EST)
  • References: <b4gjui$a6m$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Use RunThrough and provide the password as a second argument.
Unfortunately, I cannot try this as I don't have a Linux box.
Hope it helps,
Orestis

Sirko Straube <straube at biologie.uni-freiburg.de> wrote in message news:<b4gjui$a6m$1 at smc.vnet.net>...
> 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: pattern matching with repeated named patterns
  • Next by Date: Re: Symbols and Lists
  • Previous by thread: Re: Running ssh in Mathematica
  • Next by thread: Re: your reply in comp.soft-sys-math.mathematica