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
- Follow-Ups:
- Re: Running ssh in Mathematica
- From: jmt <jmt@dxdydz.net>
- Re: Running ssh in Mathematica