How to change SSH passwords from the CLI

    October 17, 2019

    How to change SSH passwords for your server from the CLI, provided you have SSH access.

    But first...

    Method

    1. If you have not done so already, enable SSH. See How to enable SSH access for details.

    2. Log in to your server with SSH.

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

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

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

    For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.

    Was this article helpful?

    Send feedback

    Can’t find what you’re looking for?

    Our award-winning customer care team is here for you.

    Contact Support