"""
if sudo:
- ret, stdo, stde = ssh.exec_command_sudo(cmd)
+ ret, stdo, stde = ssh.exec_command_sudo(cmd, timeout=60)
else:
- ret, stdo, stde = ssh.exec_command(cmd)
+ ret, stdo, stde = ssh.exec_command(cmd, timeout=60)
if ret != 0:
print 'Command execution failed: "{}"'.format(cmd)