Login to server via ssh
use below command with sample given
bench --site [sitename] set-admin-password [password]
Sample for reference:
.......................................................
bench --site restaurant.powersoftsystem.com set-admin-password Ph@12345