- Community Home
- >
- Networking
- >
- IMC
- >
- How to Limit active SSH Sessions on custom Adapter...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2021 05:18 AM - edited 09-17-2021 08:04 AM
09-14-2021 05:18 AM - edited 09-17-2021 08:04 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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2021 09:18 AM
09-14-2021 09:18 AM
Re: How to Limit active SSH Sessions on custom Adapter?
Hello @merkCH ,
Are you looking for some help in IMC or or in Moxa Switch?
Thanks!
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2021 11:16 PM
09-14-2021 11:16 PM
Re: How to Limit active SSH Sessions on custom Adapter?
Looking for help in IMC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2021 03:01 PM
09-15-2021 03:01 PM
Re: How to Limit active SSH Sessions on custom Adapter?
Hello @merkCH ,
I believe it is not feasible in IMC.
Thanks!
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2021 05:18 AM
09-17-2021 05:18 AM
SolutionWhy 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2021 08:03 AM
09-17-2021 08:03 AM
Re: How to Limit active SSH Sessions on custom Adapter?
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