How to ssh and change root password

If you're on windows, you can use putty, download here

Once donwloaded, you just open it, and enter your PBX IP under "HostName (or IP Address)" and next to it, under Port, put in 22 or 20022 (we use different port, depending on your Asterisk flavor)

You will login as root (see welcome email for the password). You can find a copy of the welcome email in our client area under Emails section (Find "Hello, Your-name-here" menu on top right -> click Emails).

If you're on linux or Mac, you just type below in your terminal window/app

ssh root@your-pbx-ip-here

or on port 20022, you type

ssh -p 20022 root@your-pbx-ip-here

To change root password, you type

passwd

Note: If somehow you don't get login prompt, you maybe banned by firewall in pbx. Try wait 20-30 min for the firewall to unban automatically or try from new place.

For mysql root password, you can reset it following https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html

Was this answer helpful?

 Print this Article

Also Read

Troubleshooting Audio or call quality issue

Can you ssh to the server? If not, please do let us know so we can further check. If you can ssh,...

How to reboot your pbx server

If you have problems getting into your pbx, first please read this to make sure it is not banned...

XEN ERROR: 4GB SEG FIXUP

If you update or install new packages,  please make sure that you check /var/log/message....

How to change your Asterisk System to a different one

As of 2/25/2011,  this feature is not available anymore.  Please send us a ticket to...

How to fix out of space issues

If your web page not loading or your asterisk down, you may want to ssh as root to check what's...