Yes I had Perl in mind. I have some web application code that could be recycled for the hashing. One other thing that I would still have to keep track of is the username. Although I try I am not always able to use the same username for all hosts.
You make good point about not being able to change the password.