|
[Date Index]
[Thread Index]
[Author Index]
Re: Running ssh in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg39898] Re: [mg39895] Running ssh in Mathematica
- From: jmt <jmt at dxdydz.net>
- Date: Tue, 11 Mar 2003 02:36:04 -0500 (EST)
- References: <200303092341.SAA10410@smc.vnet.net>
- Reply-to: jmt at dxdydz.net
- Sender: owner-wri-mathgroup at wolfram.com
Two remarks :
1 : the ssh program "ssh-askpass", (OpenSsh contains it), is an X program ;
then calling "ssh -X .." might disable the ssh server to launch ssh-askpass.
2 : using an "ssh-agent" is, in my opinion, the best way to use ssh. Once the
agent is loaded, a connection using ssh won't need to ask for a password. You
can then, in Mathematica, connect to remote kernels or remote ibrairies,
using ssh tranparently. OpenSsh provides the ability to use ssh agents.
On Monday 10 March 2003 00:41, Sirko Straube wrote:
> 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: Problem :mathematica building help browser index
Next by Date:
Compile + Module => Memory Leak
Previous by thread:
Running ssh in Mathematica
Next by thread:
Re: Running ssh in Mathematica
|