For starters, could you answer the following:
1. Are you using the vmware image, or do you have sage installed on your
computer directly?
2. Is your computer accessible from other computers (i.e., do you have a
computer name or IP address that you can access remotely)?
Jason
Your comments about not being able to ssh into the computer seem to
indicate that you can't reach the computer. Can you ping it from
another computer?
ping ipaddress
or
ping computername
You're right, the network connectivity problem has to be taken care of
first before anything will work.
Thanks,
Jason
Have you tried something like the following. Startup sage on your
macbook pro and type
sage: notebook(address="ipaddress",port=8100,secure=True)
then from another computer on your network try to visit the web page
That's pretty much it, except for making accounts. To create accounts
you could temporarily do
sage: notebook(address="ipaddress",port=8100,secure=True, accounts=True)
let people make accounts, then do
sage: notebook(address="ipaddress",port=8100,secure=True,accounts=False)
so no new accounts can be created.
William
If ping works then what I posted above might work. Ssh might not be
working for the original poster because he might have not started an
ssh daemon via the Sharing config stuff in OS X. It's not necessary to
have an ssh daemon in order to run a sage notebook server.
William
You should also be able to do:
notebook(address="computername", port=8100, secure=True)
to be able to address it as just https://computername:8100.
That might work anyway even with address='ipaddress' too.
Jason
Is there an easy way to prevent someone from accidentally deleting data
on the computer? Just login from a restricted account before opening the
notebook, or do I have to set up a chroot jail?
Thanks!
Whoever logs into the sage notebook will have access to a shell account
on the computer as the notebook user. So logging in as a restricted
account and then starting the notebook is a good idea. Chrooting is
also a good idea.
Jason