On Friday, May 25, 2018 at 5:59:55 AM UTC-7, Emmanuel Charpentier wrote:
>
> Dear list,
>
> [ This goes to sage-support becaus I do not know if this is already 
> possible with our current kernel.  Please redirect to sage-devel if you 
> think it more appropriate... ]
>
> Re-hashing the SageTeX documentation, I was reminded that this nice 
> package was able to use a remote Sage interpreter through, fo example, an 
> SSH link.
>
> This made me wonder if it would be possible to implement a 
> "mini-Jupyter-kernel" able to invoke a remote Sage kernel to process a 
> local worksheet.
>
> A possible enhancement of this scheme would be to pass some pointer to the 
> local current directory as a possible point of access for the remote 
> process to access local files, through something not unlike sshfs.
>
> This might allow to offer a somwhat secure access to Sage on machines too 
> small or too exotic to offer a local Sage interpreter (e. g. Windows 
> laptops), as long as they can run the Jupyter notebook.
>
> Since your approach requires the device to run ssh, a much more portable 
option is to run the jupyter server on the remote machine as well 
(listening on localhost) and use ssh to forward the relevant port so that a 
local browser can connect to it. That way the jupyter server browses the 
same file system as the sage kernel and  you can use the standard jupyter 
tools to up- and download files. The jupyter server can even give you a 
terminal on the remote machine in your local browser (but since you have 
ssh, you already have that).

I have seen this work on windows and android devices.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to