# Reset admin password via SSH?

**URL:** <https://forum.mautic.org/t/reset-admin-password-via-ssh/10216>\
**Category:** Product Support\
**Created:** [February 8, 2018, 8:32am UTC](https://forum.mautic.org/t/reset-admin-password-via-ssh/10216 "2018-02-08T08:32:45Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![chapa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chapa/32/13310_2.png) [@chapa](https://forum.mautic.org/u/chapa)\
**Post date:** [December 2, 2025, 5:18pm UTC](https://forum.mautic.org/t/reset-admin-password-via-ssh/10216/21 "2025-12-02T17:18:46Z")

</div>

That method doesn’t work for Mautic 4 and above, and especially not for Mautic 5 and 6, because the hashing algorithm used to store passwords has changed.

The hash value they give you:

```auto
a5b253d8484925a3b4fba260768416dfdcbeaed639bb3435c566cbf54721f846903725c7283cf9ab1f090f179d015f46a50b5e798695547eda6e2342db8918a2

```

is a simple SHA512 hash, which is no longer compatible with how Mautic generates and verifies passwords in modern versions (it now uses `password_hash()` with bcrypt, and may also include a “cost” option).

[Previous page](https://forum.mautic.org/t/reset-admin-password-via-ssh/10216.md?page=1)
