fix(ssh): handle ssh failures gracefully