A male crab fertilizes a female (usually by giving her packets of sperm), then the fertilized eggs start to mature. The female then releases them near a shoreline.
Hermit crabs are very tricky to breed. It requires a large tank with salt water at a very precise pH and temperature. When all the requirements are met the hermit crabs will reproduce.