init: enable SSH on failure

When we reach the onfailure code path, let's enable ssh. It's pretty
useful got get SSH enabled automatically.

This patch also make it work on RHEL.