We involve from a Linux environment to remote execute Enterasys Switch command without user-intervention.
Here is what we did for the testing (for production, we need to write python script):
1. From linux to another Linux server to execute “pwd” command
sshpass -padmin123 ssh -o StrictHostKeyChecking=no email@example.com pwd
It works as expected.
2. From linux to Enterasys Switch (10.10.10.12) login as “admin” user
[root@bwc ~]# sshpass -padmin123 ssh -o StrictHostKeyChecking=no firstname.lastname@example.org
Also as expected, it is indeed login to the switch as “admin” user.
3. From linux to Enterasys Switch (10.10.10.12) login as “admin” user to run a supported command it fails [root@bwc ~]# sshpass -padmin123 ssh -o StrictHostKeyChecking=no email@example.com show ssh Received disconnect from 10.10.10.12: 2: Packet integrity error.
What is Enterasys driver's type?
Please help us better understand what the above error means and is there a way to overcome the issue?
So far, Enterasys Switch is still a black-box for us, and your help is highly appreciated.