The following is easily found on the man page of ssh, but William
pointed out to me that many users may not be aware of the possibility
to use ssh to forward ports. In particular, if you want to run "sage -
notebook" on computer A, but only want to let it listen to a local
port out of security considerations and yet want to run a web browser
on computer B to connect to the server, you can do the following

[EMAIL PROTECTED]> firefox &
[EMAIL PROTECTED]> ssh -L 8000:localhost:8000 [EMAIL PROTECTED]
[EMAIL PROTECTED]> sage -notebook
[....]
-----------------------------------------------------------------------
now, in firefox on B, you can visit http://localhost:8000, which will
get tunneled by ssh to port 8000 on A and hence will give you a
connection to the sage notebook on A.

I am sure one can use ssh on windows to do port forwarding as well.
Perhaps someone who knows can reply with a small note explaining how?

Enjoy.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to