cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Enterasys Switch (B3G124-24P) from a script (remote ssh cmd without user-intervention) issue.

Configure Enterasys Switch (B3G124-24P) from a script (remote ssh cmd without user-intervention) issue.

Jinping_Han
Extreme Employee
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 root@10.10.10.10 pwd
/root
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 admin@10.10.10.12
Extreme B3

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 admin@10.10.10.12 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.

0 REPLIES 0
GTM-P2G8KFN