SSH Password Reset

Prev Next

To reset the SSH password system the system requires KVM either directly with a physical montior and keyboard of via the BMC HTML viewer. We recommend HTML viewer and will show the steps here. The process is the same for a physical monitor and keyboard

Step 1) Connect to the BMC login and launch the HTML5 KVM

Step 2) Connect KVM

The KVM viewer looks similar to below. If the screen is blank press a few random keys to disable the screensaver

Step 3) Reboot

Reboot the system using the Power menu

Step 4) System Boot

Need to catch the system boot prompt here. One way is to tap space key or letter "r" every few seconds. This will prevent the bootloader from automatically starting.

Step 5) Rescue Mode

Enter system "rescue" mode at the prompt and hit enter. This will boot the system into rescue mode.

Step 6) Shell

Rescue mode should drop to a default prompt as follows

Step 7) Set New Password

Set a new password for fmadio user  as follows

Step 8) Mount OS Disk

FMADIO100v2 or FMADIO100p3:

sudo mount /dev/nvme0n1p2 /mnt/store0

FMADIO20v3 or FMADIO40v3:

sudo mount /dev/sda2 /mnt/store0

Example output shown below

Step 9) Copy password

Copy the shadow password file to persistent storage

sudo cp /etc/shadow /mnt/store0/etc/shadow

Step 10) Reboot the system

sudo reboot

Step 11) Login with new password

SSH login fmadio has the newly set password