ssh and ditg fixes