SDI-104 Operator's Manual
Version 2008

[Search Manual] [Table of Contents] [FAQ] [Go to Previous] [Go to Next]


Accessing the SDI

You can access the SDI (to run commands, check status, etc.) locally or remotely, as described below.

Local Access

You can access the SDI locally by connecting a monitor and keyboard, as shown in the Component Interconnections section of Chapter 2 - Initial Checkout, Setup and Power Up.

Remote Access

You can also access the SDI remotely (from other workstations) by using ssh. To do so, you must copy the SSH key file id_dsa from the /home/.ssh directory on the supplied USB memory stick (which contains a duplicate copy of the contents of the SDI's hard disk and CompactFlash boot disks) to the workstation that you'll be using to access the SDI. If desired, you can use ssh-keygen to create a derived equivalent passworded private key-file (as shipped, the keys are not password-protected).

Once the SSH key file is in place, you can access the SDI remotely with a command similar to that below.

Type:  ssh  -i  /path-to-keyfile/id_dsa  root@sdi-address

where path-to-keyfile is the path to the directory containing the id_dsa file on the local workstation (that you're using to access the SDI) and sdi-address is the IP address of the SDI machine


If you want to create a root password that will remain in place after a reboot of the system, complete the instructions below. Note: SSEC strongly recommends that you use the SSH key when remotely connecting to the SDI.

1. At the console, create a root password with the passwd command.

Type:  passwd

2. Copy the passwd and shadow files from RAM to the hard disk.

Type:  cp /etc/passwd /mnt/HDD/data/opt/etc/.
Type:  cp /etc/shadow /mnt/HDD/data/opt/etc/.

3. Edit the /data/opt/etc/rc.local file and add the bold lines listed below to the file after the rebuild resolv.conf section's “EOF” line. The section in italics is already in the rc.local file.


#####################################
# rebuild resolv.conf for this site
# cat >/etc/resolv.conf <<EOF
# domain ssec.wisc.edu
#earch ssec.wisc.edu
# nameserver 128.104.108.26
#EOF
######
## Set up for root password
# Remove the files in RAM
rm /etc/passwd
rm /etc/shadow
#
# Copy the files from the HD to RAM
#
cp /mnt/HDD/data/opt/etc/passwd /etc/passwd
cp /mnt/HDD/data/opt/etc/shadow /etc/shadow
#####

4. Reboot the SDI.

Type:  reboot

5. Verify that the password works by remotely connecting to the SDI using ssh.


[Search Manual] [Table of Contents] [FAQ] [Go to Previous] [Go to Next]