mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update ssh.md
This commit is contained in:
parent
af4405c92b
commit
4fd8b8c243
@ -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.
|
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.
|
## Changing Your SSH Password from terminal
|
||||||
|
|
||||||
This alteration will promptly update the password; however, all existing ssh connections will remain active.
|
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.
|
To terminate existing SSH connections, use the [Process Manager](/docs/panel/advanced/process_manager) interface and kill the appropriate processes.
|
||||||
|
Loading…
Reference in New Issue
Block a user