Start ssh server only if necessary