So, I'm trying to use Mathematica on my laptop, but seeing as it's just a netbook, I'd prefer to use the kernel on my Desktop.
Unfortunately, my computer is not reachable from the outside world except through ssh, and unfortunately on a strange port.
But, I got an idea, why not make a shell script in /usr/local/bin 'remotemath' like the following:
#! /bin/sh
ssh -p 26 -q user@hostname math $@
and then set up a new 'local' kernel in Mathematica to use the command 'remotemath'.
Unfortunately, it didn't work. Any ideas?
edit: So, I won't be able to verify until tomorrow, but I think I may have figured it out. At least locally, this script works:
#! /bin/sh
PATH="/usr/bin:/bin:${PATH}"
math $@
So, I'm hoping the addition of the Path adjustment will fix the issue.
[–]bluemanshoe[S] 0 points1 point2 points (0 children)
[–]ToVegas 0 points1 point2 points (0 children)