cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
608
Views
0
Helpful
3
Replies

SSH availability test

Hello Team,

 

please help me  to create a python script which create ssh login in network devices using inbuilt module of python. There are restriction we can not install modules like netmiko, paramiko, pexcept, pssh etc.

 

tried hard with subprocess but won't worked for me.

 

please please ... help !

 

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

what model of the device and what is version of IOS core running on the device, can you post show version to understand.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

there are multiple vendor(like HP, Alcatel, cisco, nokia etc) router and switches. SSH enabled on the devices now we have to test the  login credential tacacs cred  is working on how many devices via python  script. There are more than 25000 devices and the challenge is that we cannot import any modules so we have to work with python inbuilt modules.

 

thanks for your response seeking a solution for the same  

So My understanding is you like to test the SSH access with Against TACACS user, you can do out of box script ( if cisco concerns) you can use expect command in Linux to check ssh success and show version, capture the information in success log.

 

if i understand wrong correct me.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card