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

12 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.

     

  • 1
    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.

  • 1
    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?

  • 0
    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

Please sign in to leave a comment.