Fix usage of wrong variable for SSH host ($AD_HOSTNAME vs. $AD_SSH_HOST).