Commit 060ea3aa by Bach Dániel

vm: fix get_connect_command

parent 951e0643
......@@ -510,7 +510,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
'port': port, 'proto': proto, 'pw': self.pw,
'host': host}
elif proto == 'ssh':
return ('sshpass -p %(pw)s ssh -o StrictHostKeyChecking=n '
return ('sshpass -p %(pw)s ssh -o StrictHostKeyChecking=no '
'cloud@%(host)s -p %(port)d') % {
'port': port, 'proto': proto, 'pw': self.pw,
'host': host}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment