How to change SSH password? Print

  • 50

  1. Log in to your server with SSH.

  2. Enter the command:
    passwd
  3. Type your password, then press Enter.

  4. When prompted for your current UNIX password, enter your SSH password, then press Enter.

  5. Retype your new password and press enter. If successful, you will see the output:
    passwd: all authentication tokes updated successfully

Was this answer helpful?

« Back