Registry and ssh tunnel are optional