fixed bash logic in harden_ssh