set ssh to bash for fixing the  bug.