Nexcess Logo

How to Change SSH Passwords From the CLI

Knowledge Base Home

Notice anything different?

We've enhanced the appearance of our portal and we're working on updating screenshots. Things might look different, but the functionality remains the same.
September 11, 2019

Read this article to learn how to change SSH passwords for your server from the CLI, provided you have SSH access.

But first...

If you are a Nexcess client on a physical (non-cloud) server, you may alternatively use SiteWorx to change your SSH password.

This method requires SSH access. Nexcess clients on physical (non-cloud) servers must first enable SSH access and adjust their firewall settings in SiteWorx; Cloud accounts have SSH enabled by default.

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.

Not a Nexcess Customer Yet?

There are many reasons to choose Nexcess. Get faster speeds on Nexcess servers and with our fully managed hosting plans.

Or if you prefer full control, our sibling brand Liquid Web offers VPS, dedicated servers, and hosted WordPress with root access.

Check out our Liquid Web's offerings or reach out to get started today.

Jason Dobry
We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.