Disabled host key checking on the ssh connections.

BUG=None
TEST=platform_ServoPyAuto

Change-Id: Iecbf2b8116fc93f577ee3cffe2981fb9cbc76531
Reviewed-on: http://gerrit.chromium.org/gerrit/5696
Tested-by: Craig Harrison <craigdh@google.com>
Reviewed-by: Nirnimesh <nirnimesh@chromium.org>
diff --git a/server/cros/servo.py b/server/cros/servo.py
index fed97ce..89dee20 100755
--- a/server/cros/servo.py
+++ b/server/cros/servo.py
@@ -280,7 +280,7 @@
     def _init_seq(self):
         """Initiate starting state for servo."""
         self.set('tx_dir', 'input')
-        self.set('servo_dut_tx', 'off')
+        self.set_nocheck('servo_dut_tx', 'off')
         self.set('lid_open', 'yes')
         self.set('rec_mode', 'off')
 
diff --git a/server/cros/servotest.py b/server/cros/servotest.py
index 8b27d86..5a6e27a 100755
--- a/server/cros/servotest.py
+++ b/server/cros/servotest.py
@@ -98,9 +98,9 @@
         pyauto_cmd = \
             'python /usr/local/autotest/cros/servo_pyauto.py --no-http-server'
         logging.info('Client command: %s' % pyauto_cmd)
-        self._remote_pyauto = subprocess.Popen(['ssh -n root@%s \'%s\'' %
-                                                (self._client.ip, pyauto_cmd)],
-                                               shell=True)
+        self._remote_pyauto = subprocess.Popen([
+            'ssh -o "StrictHostKeyChecking no" -n root@%s \'%s\'' %
+            (self._client.ip, pyauto_cmd)], shell=True)
         logging.info('Connecting to client PyAuto RPC server...')
         remote = 'http://localhost:%s' % self._rpc_port
         self.pyauto = xmlrpclib.ServerProxy(remote, allow_none=True)
@@ -158,7 +158,7 @@
     def _kill_remote_pyauto(self):
         """Ensure the remote PyAuto and local ssh process are terminated."""
         kill_cmd = 'pkill -f servo_pyauto'
-        subprocess.call(['ssh -n root@%s \'%s\'' %
+        subprocess.call(['ssh -n -o "StrictHostKeyChecking no" root@%s \'%s\'' %
                          (self._client.ip, kill_cmd)],
                         shell=True)
         if self._remote_pyauto and self._remote_pyauto.poll() is None: