knipknap / exscript

A Python module making Telnet and SSH easy
MIT License
367 stars 136 forks source link

Brocade: Device said: terminal length 0 #201

Open ikreb7 opened 5 years ago

ikreb7 commented 5 years ago

Hello,

I think there is a mistake at the driver.py. I get this error message:

$ python test.py
All jobs enqueued.
Waiting for the queue to finish.
SSH@192.168.178.123#terminal length 0
Invalid input -> length 0
Type ? for a list
SSH@192.168.178.123 error: Device said:
terminal length 0
Invalid input -> length 0
Type ? for a list

I use this code for a Brocade ICX 7750 Switch:

quickstart('ssh://172.168.178.123', do_something, verbose=3, only_authenticate=True, host_driver="brocade")