The Sandbox Linux server is available for posting
web pages. You each
have regular shell accounts there. The account password is independent
of your MC password.
Here are some notes on using it.
How to Post a File
Each account has a home area where you can store files. These are not
visible on the web. The web serves file in the subdirectory
local_html.
So, you might create a file
page.html as a local file on your
own machine. You can view it in your browser, but it won't be visible
on the wider Web. To get it there, you need to copy it into the
local_html directory on your account is Sandbox. Assuming your
account name is
joeuser, on the command line this would look
like this:
bennet@bennet:~$ scp page.html joeuser@sandbox.mc.edu:local_html
joeuser@sandbox.mc.edu's password:
page.html 100% 157 5.4KB/s 00:00
bennet@bennet:~$
The password does not appear when you type it. (This is the command-line
version of putting stars in the entry box in a browser or such.)
Your page is now visible on the web either as
https://sandbox.mc.edu/~joeuser/page.html or
https://sandbox.mc.edu/homes/joeuser/page.html.
You can use the scp command from a Mac, Linux or Windows shell window.
They all come with it these days. If you prefer a GUI tool to transfer
files, there are several available. The
WinSCP program which
runs on Windows and allows files to be dragged back and forth between the
remote and local file systems. It also allows remote files to be
edited in a local window. There is also
FileZilla, which
runs pretty much anywhere. Its interface is rather more clunkly than
WinSCP, but can
be used in more places. I'll also take suggestions from Mac people, if
you know of any nicer ones there.
Command Shell
You also have regular shell access on Sandbox, which can be reached with
the
ssh program. You are free to use this, but there will be
little or need for this. If you would like to, and are
unfamiliar with the Unix shell, there is a
nice introduction here. One command you
might want to know in any case is
passwd, to change your login
password:
bennet@bennet:~$ ssh joeuser@sandbox.mc.edu
joeuser@sandbox.mc.edu's password:
Last failed login: Tue Aug 20 13:22:54 CDT 2024 from 10.27.2.212 on ssh:notty
There were 3 failed login attempts since the last successful login.
[joeuser@sandbox ~]$ passwd
Current password:
New password:
Retype new password:
passwd: password updated successfully
[joeuser@sandbox ~]$ logout
Connection to sandbox.mc.edu closed.
As above, passwords are not shown when you type them. This is to
thwart shoulder surfing.