03-22-2011 10:13 AM
I have deployed ssh on my switches, now i want to know if it possible to collect a list of all my rsa certificates by LMS 3.2. Is it posible to do that ?
Thank for your answers.
Solved! Go to Solution.
03-28-2011 08:48 AM
Using Netshow you can run the command on all devices to pull out the pub keys. Then, you can script the cwcli command to extract the output, and save the keys into their respective .pub files. For example, if you create a Netshow job number 3000, you can use the following command to obtain the output from the CLI:
cwcli netshow jobresults -u admin -p admin -id 3000
You can then use any scripting language to iterate over that output and pull out the General Purpose Key.
03-26-2011 08:02 PM
You can use RME Netshow (RME > Tools > Netshow) to run the following command across all of your devices to get the pubkeys:
show crypto key mypubkey rsa
03-28-2011 07:37 AM
Hello Joseph and thank you for your answer. The fact is that I want to make a directory of rsa keys In order to share the same directory for all of ssh clients. It possible for me to make that directory by using my ssh client but it's not easy because I must connect sequentially to all devices (more than 300) and make save key in .pub files format. Is there another way to do that easily by LMS ?
Thank you
03-28-2011 08:48 AM
Using Netshow you can run the command on all devices to pull out the pub keys. Then, you can script the cwcli command to extract the output, and save the keys into their respective .pub files. For example, if you create a Netshow job number 3000, you can use the following command to obtain the output from the CLI:
cwcli netshow jobresults -u admin -p admin -id 3000
You can then use any scripting language to iterate over that output and pull out the General Purpose Key.
03-28-2011 01:32 PM
I will try this way.
Thank you.
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