Fixed password bug for remote shell