Run Keyword If '${password}'!='${EMPTY}' Login ${username} ${password}
... ELSE Login With Public Key ${username} ${privatekey}
${stdout} ${rc}= Execute Command ${command} return_rc=True return_stdout=True
- log ${rc}
- log ${stdout}
+ Log ${rc}
+ Log ${stdout}
Close All Connections
Should Be Equal As Integers ${rc} 0
[Return] ${stdout}