07-11-2019 06:53 AM
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 !
07-11-2019 03:24 PM
what model of the device and what is version of IOS core running on the device, can you post show version to understand.
07-12-2019 06:11 AM
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
07-12-2019 06:59 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide