How to change SSH passwords from the CLI

How to change SSH passwords from the CLI

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

  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 the Client Portal.

Article Rating (5 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to interpret MTR results
Added on Tue, Jun 26, 2018
Colocation Access Card Request Form
Added on Tue, Oct 6, 2015
What is the DMCA?
Added on Mon, Feb 11, 2019
Facility Access Policy (OTR)
Added on Mon, Jan 22, 2018
What is SOAP?
Added on Tue, Jan 6, 2015
How to request and revoke facility access (MEL, TMR)
Added on Wed, Feb 28, 2018
How to flush Redis
Added on Fri, Jan 4, 2019
How to decompress files in gzip
Added on Tue, Jan 6, 2015
What is GeoIP?
Added on Fri, Oct 31, 2014
How to find a development partner
Added on Mon, Feb 11, 2019