Change the sshexec() method to return the result