How Do I Change the SSH Access Password?
Context
- SSH is used only for advanced maintenance.
- Change the preset password in your first login to the controller over SSH.
- Except for password changes, do not perform any other operations. Otherwise, the controller cannot work properly.
- Except for password changes, operations resulting in controller faults are beyond the warranty scope.
- Remember the new password.
When Windows accesses the controller over SSH, you need to use client software such as PuTTY.
Procedure
- Log in to the controller over SSH.
- Specify User name and Password. The preset user name and password are enspire and Changeme respectively, as shown in Figure 7-26.
The new password should meet the following requirements:
- Contains at least eight characters.
- Contains at least two types of characters: lowercase letter, uppercase letter, digit, space,and special character (`~!@#$%^&*()-_=+\|[{}];:'",<.>/?).
- Be different from the user name or user name in its inverted order.
If a user enters incorrect passwords for five times, the user's account will be locked for 10 minutes.
- After successful login, enter su and Changeme to switch to the root user, as shown in Figure 7-27.
- Enter passwd (the password change command) to change the password. In the displayed window, enter a new password and confirm it, as shown in Figure 7-28.
The new password must meet complexity requirements. When you are changing the password, you can press Ctrl+C to stop this operation.