If you're just using an interface and have setup password-less authentication
using ssh-keys, you can use the server= option.

 sage: m = Mathematica(server="name.of.computer.edu")

William



On 8/14/07, Jack Schmidt <[EMAIL PROTECTED]> wrote:
>
> You can just put a shell script in $SAGE_ROOT/local/bin/math (or
> whatever the binary name is supposed to be) with the contents:
>
> #!/bin/sh
> exec ssh -t [EMAIL PROTECTED] math
> $*
>
> You need to setup some sort of password-less authentication from your
> laptop to the mathematica server if you have not already.  There are
> lots of simple ways to do this. Two easy and elementary ways are the
> ControlMaster option or the program ssh-agent, as described in the man
> pages for ssh_config and ssh-agent.
>
> I don't have access to mathematica, but this works for gap, kash, and
> magma.
>
> On Aug 14, 4:48 pm, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> > i know about ssh tunneling and so on but i am posting this on sage-
> > support...
> > the point was to have a sage session on my laptop interacting with a
> > remote mathematica (for instance)
> > paul
> >
> > On Aug 14, 9:09 pm, Chris Chiasson <[EMAIL PROTECTED]> wrote:
> >
> > > you can use mathematica remotely anyway
> > > method 1: remote kernel (don't know if mathplayer can be made to
> > > connect to one of these)
> > > method 2: ssh tunneling, possibly with x windows (this should work,
> > > but you will probably need to learn a lot to make it work)
> >
> > > plain method:
> > > ssh and execute
> > > math
> > > to enter a mathematica terminal mode session (sans front end)
> >
> > > On Aug 14, 12:40 pm, "[EMAIL PROTECTED]"
> >
> > > <[EMAIL PROTECTED]> wrote:
> > > > hi all
> > > > i was wondering if anyone had already implemented this:
> > > > my computing setup is not the greatest. i don't pay for mathematica or
> > > > magma so i don't have them available on my laptop. on the other hand
> > > > my university does pay for them, and i have a user account on the
> > > > machines where they are run. but then those machines don't have a very
> > > > current version of sage...
> > > > so i was curious whether it would be possible to have sage run
> > > > mathematica on a remote server and interact with it just as if it was
> > > > also installed on my machine?
> > > > thanks
> > > > paul
>
>
> >
>


-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to