Forum Discussion

Anonymous's avatar
Anonymous
2 years ago

Entering enable mode using JSch

Does anybody have any example code on how to enter enable mode when using JSch? I already have the script working for 95% of my devices, so i don’t want to have to switch to expect. The channel mode ...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Actually, since it’s such a small number of devices, we’re just going to deem those unsupported. We’ll either have the customer change that user’s permissions so it’s not required or not monitor it.

    It would be nice to have a good example that works from LM (among so many other needed code examples). Has anyone at LM taken ownership of the monitoring-recipies repo?

    It would actually be nice to have a built in collection method that would simplify building modules that use SSH.