# DRAMSIOC Setup

DRAMSIOC is a general use VM that has been set up for use by the DraMS GSW team.  We will be using DRAMSIOC to host the Subversion (SVN) repository containing the telemetry files captured in the lab.

DRAMSIOC can only be reached by setting up an SSH tunnel.  This requires your NASA badge and a computer with a badge reader.

1. From outside the lab, set up an SSH tunnel to DRAMSIOC. [VM SSH Tunnel Setup](https://wiki.xina.io/books/instructions-Gm9/page/vm-ssh-tunnel-setup)

1. Create an RSA public/private key

    TODO
   
1. Copy your public key to DRAMSIOC

   TODO

1. Create an SSH config file in C:/Users/dramsops/.ssh/ named "config".  Replace YOUR_USERNAME below with your NASA username (e.g., mrburkh1)
   
        Host dramsioc
               Hostname dramsioc.gsfc.nasa.gov
               PubKeyAuthentication yes
               User YOUR_USERNAME
               LocalForward 6994 localhost:3690
               TCPKeepAlive yes

1. Open the SSH: In a Command Prompt type ```ssh dramsioc```

1. Checkout (or Update) the "dramsdata" SVN repository. Using TortoiseSVN, right click on a location in the Windows Explorer and select "SVN Checkout".  For the "URL of repository" put "svn://localhost:6994/dramsdata".