core: keep process group for SSH childprocess