fix [ BUG - #69 utility01 setup script - SSH setup script does not prompt for passwor...
authorAndy Witter <awitter@georgialibraries.org>
Wed, 13 Jan 2016 21:32:52 +0000 (16:32 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Wed, 13 Jan 2016 21:32:52 +0000 (16:32 -0500)
GenaSYS.sh
templates/setup_sshkeys.sh

index a404432..98f5e76 100755 (executable)
@@ -25,8 +25,8 @@
     PURPOSE_="Generate config files needed for Evergreen-ILS Cluster"
    SYNOPSIS_="$NAME_"
    REQUIRES_="standard GNU commands, apt, dpkg"
-    VERSION_="1.60"
-       DATE_="2010-11-23; last update: 2016-01-12"
+    VERSION_="1.61"
+       DATE_="2010-11-23; last update: 2016-01-13"
      AUTHOR_="Andy Witter <awitter@georgialibraries.org>"
         URL_="http://evergreen-ils.org"
    CATEGORY_="devel"
index 56aeaf5..bdb2316 100755 (executable)
@@ -40,7 +40,9 @@ if cat /etc/passwd |grep -q opensrf
                echo
                echo Setting up SSH keys for OpenSRF node: $NODE
                echo
-               su - opensrf -c "ssh-copy-id -i $PUB_KEY opensrf@$NODE"
+               #su - opensrf -c "ssh-copy-id -i $PUB_KEY opensrf@$NODE"
+               ssh-copy-id -i $PUB_KEY opensrf@$NODE -o StrictHostKeyChecking=no
+                su - opensrf -c "ssh gsdev-brick01-head -o StrictHostKeyChecking=no -C 'echo $NODE OK'"
        done
                else
                echo "user opensrf does not exist create the user"