Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 000 News

FAQ

Search

Home


Using ssh with AIPS++

The check in/out system no longer supports remote NFS mounts. AIPS++ developers need to use rao, rai and rau to remotely check-out, -in and update local versions of the code tree (Note: rau will work only on machines that support setuid scripts, for machines not supporting setuid scripts it will have to be run by aips2mgr).

The ra? scripts now require ssh to work. Initially they used rsh but rsh is no longer allowed by aips2.aoc.nrao. As of august 2001, OpenSSH is used, which can work in ssh1 as well as ssh2 mode.

Set up ssh

All contributing AIPS++ developers have an account on aips2.nrao.edu (If you need an account on aips2.nrao.edu, email aips2-request to get an account).

You will need to have ssh 1.2 installed on your local machine, or alternatively OpenSSH.

Create your key using ssh-keygen, (cd; ssh-keygen; chmod -R 600 .ssh) accept the defaults.

Now log onto tarzan using slogin, repeat the steps above (cd; ssh-keygen, chmod -R 600 .ssh). Now update the authorized_keys file on aips2.nrao.edu with the key found in your local (not aips2.nrao.edu) identity.pub file. To access aips2.nrao.edu from other hosts add additional keys (found in identity.pub). For ssh2 these files are called authorized_keys2 and id_dsa.pub resp.)

To learn more about ssh visit the ssh FAQ.

Set up AIPS++ on aips2.nrao.edu

Rai, rao, and rau rely on $HOME/aips++ on aips2.nrao.edu having a current AIPS++ code tree. On aips2.nrao.edu do the following:

cd
. /aips++/daily/aipsinit.sh (or source /aips++/daily/aipsinit.csh)
mkdir aips++
cd aips++
mktree

Set up AIPS++ on your local machine

You will also need to make a source tree on your local machine.

cd to directory you want to put AIPS++  in
mkdir aips++
cd aips++
. aips++directory/aipsinit.sh (source aips++directory/aipsinit.csh)
mktree

Then cd to a directory and try checking something out from the master, e.g.:

cd code/doc/user
rao makefile

Wes Young
Last modified: Mon Jul 26 10:52:18 MDT 1999