python npyscreen -- 2

Job ID: 34864826

Budget: $10 – $30 USD

prerequisite : good knowledge of npyscreen
OS : Linux CLI only
Please run/look at attached script.

When you scroll down the menu and find the device you would SSH to, you press 'enter', then the script should break out with a SSH session to that hostname or IP address. This should break from bash/shell in Linux.

The SSH sessions is towards switch and routers which does not support certificates.
The already implemented search function needs to stay intact.
Default/shell username
The password should be preloaded with environment variables in bash:
Maybe use the 'sshpass' like this to launch the SSH session
'sshpass -p $PASSWORD ssh $DEVICE_FROM_PYTHON_LIST'
Related categories: Python Linux Software Architecture Shell Script