add exitcode to ssh replay