Fixed loop logic in cases where the password is required along with the ssh key
diff --git a/TestON/drivers/common/clidriver.py b/TestON/drivers/common/clidriver.py
index c46addd..8bab2e6 100644
--- a/TestON/drivers/common/clidriver.py
+++ b/TestON/drivers/common/clidriver.py
@@ -80,7 +80,7 @@
         i = 5
         while i == 5:
             i = self.handle.expect( [
-				                    ssh_newkey,
+                                    ssh_newkey,
                                     'password:|Password:',
                                     pexpect.EOF,
                                     pexpect.TIMEOUT,
@@ -88,10 +88,11 @@
                                     'teston>',
                                     '>|#|\$' ],
                 		    120 )
-            if i == 0:
+            if i == 0: #Accept key, then expect either a password prompt or access
                 main.log.info( "ssh key confirmation received, send yes" )
                 self.handle.sendline( 'yes' )
-                continue #Expect either a password prompt or access
+                i = 5 #Run the loop again
+                continue 
             if i == 1:
                 if self.pwd:
                     main.log.info(