Updates:
Status: Invalid
Comment #1 on issue 842 by pekka.klarck: It is impossible to get Return
Code when execute command line over SSH connection
http://code.google.com/p/robotframework/issues/detail?id=842
First of all, SSHLibrary issues belong to its own issue tracker at [1].
This issue is invalid here and I close it.
[1] [1] http://code.google.com/p/robotframework-sshlibrary/issues/list
I'm not sure do SSH modules support returning the return code or not. If
they don't, implementing this issue is pretty much impossible. Notice,
though, that you can get the rc already now if you echo it after running a
command and then get the stdout. How to echo the rc of the previous command
depends on the shell but at least on bash `echo $?` works.