Note: loginname stands for the SourceForge user login name.
/home/groups/s/sm/smlnj/This directory contains subdirectories
ssh -l loginname shell.sourceforge.netYour home directory will look something like:
You can abbreviate the command to (e.g.)
ssh sf-shellby defining sf-shell as a host alias in your .ssh/config file:
Host = sf-shell HostName = shell.sourceforge.net User = loginname
scp localfile firstname.lastname@example.org:/home/users/m/ma/macqueenor simply
scp localfile sf-shell:if you have defined host sf-shell in your ssh config file as illustrated above. Similarly, to copy a file or files to the top-level directory of the www.smlnj.org web site, you could execute the command:
scp localfile sf-shell:/home/groups/s/sm/smlnj/htdocs
eval `ssh-agent` ssh-add -p <<EOF your pass phrase EOFThese last three commands can be, and probably should be, added to your .profile or .login file. "your pass phrase" refers to the pass phrase that you gave when you created your ssh identity files with ssh-keygen. Note that some versions of ssh do not support the -p flag, in which case you will have to run ssh-add interactively and type in your pass phrase. Unfortunately, the version of ssh available on the SourceForge shell servers is one of these, so ssh-add has to be run manually after login.
Host = sf-smlnj HostName = cvs.sourceforge.net User = loginnameThis defines a standard alias for the cvs host that agrees with that used the CVS/Root files (in htdocs, for instance).
export CVSROOT=sf-smlnj:/cvsroot/smlnjNote the use of the alias "sf-smlnj" defined in the config file from the previous item.
cvs update bugs
http://www.smlnj.orgThe htdocs directory is a CVS working directory created by checking out the htdocs module from the project CVS repository. The Bell Labs copy (in /home/sml/Doc/WWW/smlnj) is also checked-out from the repository ("htdocs" and "smlnj" are both aliases of the pages module in the repository). If you have extensive edits to perform on the web pages, we recommend that you check out your own private working copy, make the edits, test them, and commit the changes. After the changes are commited, "cvs update" must be performed in the two directories
/home/groups/s/sm/smlnj/htdocs (at SF)to synchronize them with the changed repository. You can do the update on the htdocs directory yourself as described in the next paragraph, but you may need to send mail to Bell Labs to have the update done on that copy until we set up automatic email notifications of commits to the web pages repository.
/stage/w3serv/smlnj.cs.uchicago.edu (at U of C)
To actually update the pages at SF, you login to your SF account and do (e.g.)
cd /home/groups/s/sm/smlnj/htdocs ... set up cvs ... export CVSROOT=sf-smlnj:/cvsroot/smlnj cvs update htdocsThe definition of host sf-smlnj for your SF shell account should look like this:
Host = sf-smlnj Hostname = cvs1 User = usernameNote the Hostname definition; "cvs1" is the local name for the cvs server at SF.