cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

SSH client of switch stops working for the current session after executing Python script

SSH client of switch stops working for the current session after executing Python script

Erik_Auerswald
Contributor II
The SSH client available on EXOS stops working for the current session after executing the Python script "mlag_config_check.py" (from https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/mlag_config_check). Logging out and then back in again resolves the issue.

The same happens after running the script "show_port_vid.py" (from https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/show_port_vid), so it seems to be a problem with running (Python) scripts, not with the individual script that first showed the problem.

Reported here as asked on https://github.com/extremenetworks/ExtremeScripting .

Observed on an X620-16t switch with EXOS version 21.1.1.4-patch1-2.

Log:
login: admin password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_01.1 # ssh2 10.255.255.12 admin@10.255.255.12's password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_02.1 # exit Connection to 10.255.255.12 closed. X620-16t-PoC_01.2 # ssh2 10.255.255.12 admin@10.255.255.12's password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_02.1 # exit Connection to 10.255.255.12 closed. X620-16t-PoC_01.2 # run script mlag_config_check ****mlag_config_check.py running on MLAG Peer X620-16t-PoC_02**** Local and remote FDB checksums match. MLAG config check completed. X620-16t-PoC_01.3 # ssh2 10.255.255.12 sh: ./ssh: Permission denied X620-16t-PoC_01.4 # exit login: admin password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_01.1 # ssh2 10.255.255.12 admin@10.255.255.12's password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_02.1 # exit Connection to 10.255.255.12 closed. X620-16t-PoC_01.2 #
Best regards,
Erik
6 REPLIES 6

Hi Erik, I just took ownership of this case. I'll be reaching out shortly.

Drew_C
Valued Contributor III
Well that doesn't sound good. Opening a case is the right path for this one. Thanks Erik.
GTM-P2G8KFN