Hello,
I installed hestiacp on 22.04 , Hestia Control Panel: v1.6.7
Enabled “legacy API access” and added my ip to “Allowed IP addresses for API”.
Get error “Error: authentication failed”
I checked the user:
v-get-user-salt admin
get
METHOD: yescrypt
But now hestiacp api dos not work with yescrypt
To resolve I changed
nano /etc/pam.d/common-password
from
password [success=1 default=ignore] pam_unix.so obscure yescrypt
to
password [success=1 default=ignore] pam_unix.so obscure sha512
and done password change
v-change-user-password admin somepass
after this
v-get-user-salt admin
get
METHOD: sha512
and API was working.
Hope it will help to somebody.