fix broken ssh and local push method