result=conn.log_expect(options,["Enter passphrase for key '"+options["--identity-file"]+"':",\
"Are you sure you want to continue connecting (yes/no)?"]+options["--command-prompt"],int(options["--login-timeout"]))
ifresult==1:
conn.sendline("yes")
result=conn.log_expect(options,["Enter passphrase for key '"+options["--identity-file"]+"':"]+options["--command-prompt"],int(options["--login-timeout"]))