Enables steroid dehydrogenase activity, acting on the CH-OH group of donors, NAD or NADP as acceptor. Predicted to be involved in brexanolone catabolic process. Predicted to act upstream of or within steroid metabolic process. Predicted to be located in endoplasmic reticulum; endosome; and membrane. Orthologous to human HSD17B6 (hydroxysteroid 17-beta dehydrogenase 6). [provided by Alliance of Genome Resources, Apr 2022]