How to Log in SSH of Yeastar S-Series VoIP PBX

This article introduces how to log in SSH of Yeastar S-Series VoIP PBX, K2, TAv3 and TGv3 Gateway.

This article shall not apply to other Yeastar products. Please refer to How to log in SSH of Yeastar MyPBX, N-Series Analog PBX, and VoIP Gateway

How to Login via SSH

  1. Download the popular SSH tool PuTTy from the Internet.
  2. Log in Yeastar S-Series IPPBX web interface, navigate to Settings > System > Security > Service, Enable SSH. And note that since version 30.7.0.27, the SSH password had been changed to random password which you could see when you enable the SSH service.
  3. Open the PuTTy, and enter the login IP, Port and Connection type(SSH).  
    • Host Name: IP address of the Yeastar S-Series IPPBX
    • Port: default SSH port is 8022
  4. Set the scrollback line number so that you can get sufficient lines of log for debug analysis. 
  5. Click the Apply to enter SSH interface. Log in SSH with the following credential:  
    • Username: support
    • Password: iyeastar (or random password)
Note: when you enter the password, it's in invisible form that you can't see what you are inputting. 

Command Mode and Asterisk Mode

Next we introduce you the important 2 modes in SSH interface: Command mode and Asterisk mode.
After you enter the SSH interface, it is the Command mode. In this mode, you can execute the Linux based commands, like ls, cd, route and so on.

To enter Asterisk mode, you can input asterisk -vvvvvvvvvr in Command mode. In this mode, you are able to execute the Asterisk based commands, like pjsip show endpoints, pjsip set logger on and so on.

Have more questions? Submit a request

24 Comments

  • 0
    Avatar

    This login does not work with the S412.  v3.2.0

  • 0
    Avatar

    Joseph,

    Do you mean you can not connect via SSH or couldn't login with the default username / password? 

    Do you have any error message when you try login? 

  • 0
    Avatar

    It appears I am starting to connect when I open an SSH session.  The terminal responds with a password request, but the password is never correct.  "Permission denied, please try again"

    I'm having the same issue with trying to log in with FTP as well.

     

  • 0
    Avatar

    Update: I saved my configuration and factory reset the pbx.  Reloaded my config.  Now support / iyeastar works to log in.

    The problem now is that the permissions are very limited, view-only to a few things.  I tried root / ys123456 but that does not log me in.

    How do I get a root login with full permissions?

  • 0
    Avatar

    please share the root password for S-series.

     

  • 0
    Avatar

    Enable SSH of your S-Series IP PBX. Port: 8022.       

    Path: Settings – Security – Service


    Note: Write down the default Password of SSH

     

    Putty APP :

    Login as: support
    password: (SSH S-Series IP PBX password Path: Settings – Security – Service)

  • 0
    Avatar

    If you're logging in from Linux or macOS you can use the following command:

    ssh -p 8022 -l support 192.168.5.150

    Where 192.168.5.150 should be replaced with the IP address of your box if it's not the default IP address anymore.

  • 2
    Avatar

     support / iyeastar works to log in.

    The problem now is that the permissions are very limited, view-only to a few things. I tried root / ys123456 but that does not log me in.

    How do I get a root login with full permissions?

  • -1
    Avatar

    root password is not open as far as I know. What kind of permissions do you need?

  • 0
    Avatar

    I googled so far to find how to retrieve and save the SMS received through the TG800 gateway in a database without any success. I have found that in some Yeastar series, it's possible to connect to the gateway sqlite database to retrieve the SMS received by  it. I tried the same process on the Yeastar TG800 in vain. It seems that in my case, the "support" user doesn't have enough privileges. May be i'm wrong but any tip would be appreciated!!

     

  • 1
    Avatar

    I also thought that i could get the inbox SMS list through the SMS API. But I didn't find any process in the documentation to achieve it

  • 0
    Avatar

    Different Yeastar products has different kinds of API.

    As far as I know, Yeastar S Series PBX doesn't have API to receive SMS.

    S Series has only sending SMS api, see here for more deteail:

    https://help.yeastar.com/en/s-series-developer/api/api_send_sms_messages.html

  • 0
    Avatar

    Hi Thanks for replying....I want to know if there's a way i could get the inbox sms from my gateway and save them in a database. I''m using the Yeastar TG800 which support sending and receiving sms. But the API doesn't permit to retrieve all the received sms from the gateway Inbox.

    Any idea?

  • 0
    Avatar

    Note that tech note https://support.yeastar.com/hc/en-us/articles/360016231514-Configuration-Provisioning-Failure

    makes reference to viewing the contents of /ysdisk/tftpboot/

    That's not possible due to "permission denied" error so I can't troubleshoot TFTP file issues now.

  • 0
    Avatar
  • 0
    Avatar

    Hi guys, I just started at a new company. They have a Yeastar S50, but do not have the web gui credentials, nor do they have/know the email for resetting this password. The company that use to maintain this does not know the credentials as well. Is there a way I can reset the gui password without resetting the yeastar?

    Also, would it be possible to pull configure from a yeastar at another branch and reconfigue the one I'm locked out of, with this backup?

    TIA!

  • 0
    Avatar

    Hi Dean Adams

    I am afraid no way to enter the web without reset. Usually, the password information should be carefully stored by the users. And it's the user's duty to backup periodically to prevent data loss.

    As to the backup restore, yes, you are able to use the backup file to be restored on the other PBX. But you need to meet the conditions mentioned here: http:// https://support.yeastar.com/hc/en-us/articles/360016055494-Backup-File-Restore-Guide 

  • 0
    Avatar

    Thanks @Pixy

    I have a S100 at another site. I am unsure of what the version is of the S50. What would happen if I restore the back from the S100 onto the S50 if the versions differ? On the link you sent, I do see what could happen. I have not worked with Yeastar before.

  • 0
    Avatar

    Dean Adams That's not recommended.

    There are factors that need to pay attention to for the backup restore. 1) It should be the same model, 2) It should be the same firmware version.

    If you use a backup file of S100 on S50, it would cause some data leaks, and it might have some unexpected problems. As S100 has more extensions and than S50 as well as some other parameters. The firmware version could be solved easily, just upgrade the 2 PBX to the same firmware version.

    So the best practice is to configure the S50 from scratch.

  • 0
    Avatar

    Password is not working

  • 0
    Avatar

  • 0
    Avatar

    Hi Tharaka, you can regenerate the password and try again

  • 0
    Avatar

    Hi, is it possible to retrieve the client's backup through the SSH port? Thank you in advance.

  • 0
    Avatar

    Falhou ativação de licença

Please sign in to leave a comment.