'Can netmiko ssh connection be shared among processes in multi-processing setup?

In a multi-processing environment, the main process maintains a ssh connection pool by destination device.

When there's a request to send commands to a device, a new process is spawn, the new process will use the ssh connection pool for the ssh connection management.

Is this a valid usage of ssh connection sharing?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source