Create a RHC exception to handle these errors, something like RHC::InvalidSSHExecutableException.