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

هل كانت المقالة مفيدة ؟

 طباعة

اقرأ أيضاً :

Dahdi Detected time shift in /var/log/message

If you find a lot of message " dahdi detected time shift" in /var/log/message, please...

How to troubleshoot emails not sending out

First thing to check when no emails are being sent or you're not getting any emails from your...

How to change Hostname in the server

To change the hostname in the server, just ssh to the server as root and type...

Issue with IAX Call rejected, CallToken

If you have problem connecting through IAX protocol, please check if you see " Call...

High CPU usage due to whois process

We have seen some of the PBX experience high CPU usage due to spinning whois process. If you...