How to exit from SSH session on GS1900-8HP?

zymat6816
zymat6816 Posts: 8  Freshman Member
First Comment

'exit' command does nothing.

logout, quit, … are not valid commands.

Switch revisions A1 and B1.

Latest firmware installed: V2.80(AAHI.0)C0

Best Answers

«1

All Replies

  • Zyxel_Melen
    Zyxel_Melen Posts: 2,577  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @zymat6816,

    The "exit" is used to exit the current mode only. Currently, GS1900 does not have a command to exit the SSH session. What SSH software did you use that needs a command to exit the SSH session?

    Zyxel Melen


  • zymat6816
    zymat6816 Posts: 8  Freshman Member
    First Comment

    Hi.

    I am using oxidized for configuration monitoring, works well for every other type of equipment that we have. It is based on Ruby.

    https://github.com/ytti/oxidized

  • Zyxel_Melen
    Zyxel_Melen Posts: 2,577  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate
    Answer ✓

    Hi @zymat6816,

    After investigation, we found the exit command was malfunctioning on this firmware version, that it should exit the SSH session. We will fix this in the future firmware release. You may follow this category to receive the new firmware release notification.

    News and Release - Zyxel Community

    Zyxel Melen


  • Cristol
    Cristol Posts: 5  Freshman Member
    First Comment Friend Collector First Anniversary

    Hi, i've installed last FW (2.80) released 08/24 and this issue isn't fix … Can you Fix for the next FW release ?

  • zymat6816
    zymat6816 Posts: 8  Freshman Member
    First Comment

    On my GS1900-8HP // ZyXEL Ethernet Switch

    firmware: V2.80(AAHI.0)_20240718

    command 'exit' works.

  • Zyxel_Melen
    Zyxel_Melen Posts: 2,577  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @Cristol,

    We will fix it in the next firmware release. The current ERA is in the middle of November.

    Zyxel Melen


  • Zyxel_Melen
    Zyxel_Melen Posts: 2,577  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate
    Answer ✓

    Hi @Cristol,

    The new firmware is released. You may check on this post:

    Switch GS1900 Series - V2.90 Patch 0 Firmware Release — Zyxel Community

    Zyxel Melen


  • zymat6816
    zymat6816 Posts: 8  Freshman Member
    First Comment

    Hello,

    seems that GS1920-8HP has a similar problem … exit command does not terminate the SSH session.

    Current ZyNOS version : V4.80(ABKZ.1) | 07/08/2024

  • Zyxel_Melen
    Zyxel_Melen Posts: 2,577  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @zymat6816,

    I use your model and firmware version but cannot reproduce your issue. What SSH terminal software are you using? I tested with Tera Term.

    Zyxel Melen


  • zymat6816
    zymat6816 Posts: 8  Freshman Member
    First Comment

    Hello,

    my intention is to include GS1920-8HP in Oxidized configuration monitoring - which has a problem with it.

    To test, I made a SSH session with Putty: after a succesfull login I typed 'exit' command which made the session "inactive", but did not close the window as it normally does. As soon as I typed any key (like space) I was back in session.

    Then I also made a new session from another linux box; after 'exit' command it produced unusual message:

    zyxel# exit
    packet_write_wait: Connection to x.x.x.x port 22: Broken pipe <IP removed>

    linux:~ $