Network Management

 View Only
last person joined: 4 hours ago 

Keep an informative eye on your network with HPE Aruba Networking network management solutions
Expand all | Collapse all

How to Limit active SSH Sessions on custom Adapter?

This thread has been viewed 0 times
  • 1.  How to Limit active SSH Sessions on custom Adapter?

    Posted Sep 14, 2021 08:19 AM

    Hi

    I'm trying to build a custom adapter for a Moxa Switch, which support only 1 active SSH-connection.

    • Is there a way to limit the SSH Session to 1 in custom adapters?
    • Where can I find a reference table for all possibles variables in initialize.tcl?

     

     

     


    #Switch_Router_Interconnect
    #imc


  • 2.  RE: How to Limit active SSH Sessions on custom Adapter?

    EMPLOYEE
    Posted Sep 14, 2021 12:18 PM

    Hello @merkCH ,

    Are you looking for some help in IMC or or in Moxa Switch?

    Thanks!



  • 3.  RE: How to Limit active SSH Sessions on custom Adapter?

    Posted Sep 15, 2021 02:16 AM

    Looking for help in IMC.



  • 4.  RE: How to Limit active SSH Sessions on custom Adapter?

    EMPLOYEE
    Posted Sep 15, 2021 06:02 PM

    Hello @merkCH ,

    I believe it is not feasible in IMC.

    Thanks!



  • 5.  RE: How to Limit active SSH Sessions on custom Adapter?

    Posted Sep 17, 2021 08:18 AM

    Why do you need to limit number of SSH session in custom adaptor?

    1 SSH session is enough, as long as you do only 1 access (job) at the time.

    I'm ussing a custom adaptor for MOXA, and I had 2 issues at the beginning, so:

    - ensure that the MOXA is configured for raw CLI mode (by default it uses a kind a character mode menu)

    - ensure that the adaptor is closing the SSH session correctly at the end of the job. If you don't the next backup will fail and staled "plink" processes will be stacking up in IMC.

    BR

    Ray

     

     

     



  • 6.  RE: How to Limit active SSH Sessions on custom Adapter?

    Posted Sep 17, 2021 11:03 AM

    I have found the issue "error: extra characters after close-brace" int the log  "imccfgbakdm.*txt" with debug mode enabled.

    Now i have to check/rewrite my TCL-scripts backup_running_config_tftp and backup_startup_config_tftp.tcl.

     

    First I guessed the error will come from the 1 SSH connection limit.

     

    Thanks