title: Script to change password on linux servers over ssh
body: <p>We have a number of Red Hat linux servers in our IT environment. I am being asked by my team members to write a script (preferably shell script) to change a user's password on each one of those in a single go, using SSH.</p>
  
  <p>I have tried to find a solution but many of the scripts I found are using Expect. We do not have Expect installed on our servers and the system admins have refused to let us install it. Also, the users do not have root access so <code>passwd --stdin</code> or <code>chpasswd</code> cannot be used.</p>
  
  <p>Is there any way a script can be written so that a user can run it and change the password of only his own user on all the servers in a list?</p>