sdssmth Account Setup

Sdssmth is used to communicate with the PT data systems.

We assume your login shell is tcsh (look in /etc/passwd; your entry should end in "/bin/tcsh").

.cshrc

You can start with a .cshrc file that looks something like this to automate the startup requirements:

umask 002
limit coredumpsize 0
if ($?USER == 0 || $?prompt == 0) exit
set prompt = '%m %c% '
set history = 50
set savehist = 50
setenv iraf /iraf/iraf/
setenv CVS_RSH ssh
source /usr/local/etc/sdssfue.csh
echo -n sdssfue.csh...
setup sdsscvs
echo -n sdsscvs...
setup iop
echo -n iop...
setup mt
echo -n mt...
setup mtstds
echo -n mtstds
echo ' '

Create your identity.pub file on sdssmth

If you don't already have an identity.pub file on sdssmth (~/.pub/identity.pub), type this on sdssmth:

sdssmth % ssh-keygen

Answer the questions, hitting only the "Enter" key on the passphrase questions. The file "identity.pub" in your .ssh directory is your public key. Append this file to the .ssh/authorized_keys file of computers you want no-password ssh logins (e.g., ~observer/.ssh/authorized_keys on hoggpt).

Put identity.pub on hoggpt

You'll want to be able to log into hoggpt as "observer" without typing a password (to copy the cloud camera images). To do this, log into hoggpt as user "observer" (ssh observer@hoggpt) and add your identity.pub from sdssmth to ~observer/.ssh/authorized_keys on hoggpt. Check the board for the observer account password.

Send identity.pub to Fermilab

CVS to Fermilab uses ssh. Frequent observers should be able to check out and check in the ptlog files.

The person who created your sdssmth login account should have requested CVS privileges for you from sdssmth. When this has been done, create your identity.pub file on sdssmth as shown above and send identity.pub to Fermilab (Jen Adelman, jen_a@fnal.gov) requesting that this public key be used for CVS privleges for ptlog from sdssmth.

HOME


May 18, 2001 added MOPDB account note
April 8, 2001 updates
Alan Uomoto
October 20, 2000