Commit af39cb57 by Csók Tamás

client: dist is same with src now

parent d16bee08
...@@ -26,8 +26,8 @@ def connect(vm): ...@@ -26,8 +26,8 @@ def connect(vm):
vm.password -- Password used for the connection vm.password -- Password used for the connection
""" """
if vm.protocol == "SSH": if vm.protocol == "SSH":
command = "sshpass -p %s ssh -p %s" % (vm.password, vm.port) command = ("sshpass -p %s ssh -p %s" % (vm.password, vm.port)
+ " -o StrictHostKeyChecking=no %s@%s" % (vm.user, vm.host) + " -o StrictHostKeyChecking=no %s@%s" % (vm.user, vm.host))
subprocess.call(command, shell=True) subprocess.call(command, shell=True)
elif vm.protocol in ("NX", "RDP"): elif vm.protocol in ("NX", "RDP"):
server = "%s:%s" % (vm.host, vm.port) server = "%s:%s" % (vm.host, vm.port)
......
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