浏览代码

Update ssh.md

Stefan Pejcic 1 年之前
父节点
当前提交
4fd8b8c243
共有 1 个文件被更改,包括 35 次插入3 次删除
  1. 35 3
      documentation/docs/panel/advanced/ssh.md

+ 35 - 3
documentation/docs/panel/advanced/ssh.md

@@ -14,8 +14,40 @@ To enable SSH access click on the 'Enable SSH Access' button.
 
 When SSH access is enabled, it permits SSH connections from any location to the random SSH port unique to your account.
 
-To modify the SSH password for your account, click on the 'Change SSH Password' button, and within the modal, set a new password.
-
-This alteration will promptly update the password; however, all existing ssh connections will remain active.
+## Changing Your SSH Password from terminal
+
+1. Log in to your server over SSH.
+2. Enter the command:
+   ```shell
+   passwd
+   ```
+3. Type your password, then press Enter.
+4. When prompted for your current password, enter your SSH password, then press Enter.
+5. Retype your new password, then press Enter. If successful, you will see the output:
+   ```shell
+   passwd: all authentication tokens updated successfully
+   ```
+
+
+## Changing Your SSH Password from WebTerminal
+
+
+1. Navigate to *OpenPanel > WebTerminal*
+2. Enter the command:
+   ```shell
+   passwd
+   ```
+3. Type your password, then press Enter.
+4. When prompted for your current password, enter your SSH password, then press Enter.
+5. Retype your new password, then press Enter. If successful, you will see the output:
+   ```shell
+   passwd: all authentication tokens updated successfully
+   ```
+   
+## Changing Your SSH Password from OpenPanel interface
+
+To modify the SSH password for your account from the OpenPanel interface, navigate to *SSH* and click on the 'Change SSH Password' button. Set the new password in the modal and confirm.
+
+The password will immediately be changed; however, all existing ssh connections will remain active.
 
 To terminate existing SSH connections, use the [Process Manager](/docs/panel/advanced/process_manager) interface and kill the appropriate processes.