Rest Password by SSH?

vzfanatic

Active Member
Jul 22, 2008
67
0
26
Hi All,

I was resetting my machine password and had a bad internet connection at the time, and amazingly my passwords matched, but now I don't know what they are, because they are not what I entered when resetting (cause of crappy internet connection)..

I have a cluster, and the one machine I can't connect to is a slave in the customer. Does any one know of a way I can reset the pass to the one machine by ssh? I am not in the same location as the server..

I do know how to reset the pass being physically at the machine, but I'm not there presently.

Any ideas are greatly appreciated.
 
machine I can't connect to is a slave in the customer. Does any one know of a way I can reset the pass to the one machine by ssh?

First, connect to one host in the cluster. From there, use ssh to connect to the failed host (that works without password using stored keys). Then you can set the password with 'passwd'.

- Dietmar