Wexpect ssh authorization script
so i have this code and it is not outputing anything and is not running the script
Getting Error while using pexpect: TypeError: ‘spawn’ object is not subscriptable
I am trying to write a python code with pexpect, to login into multiple servers and run commands such as “ls”.