dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
606 stars 279 forks source link

Create Need iDRAC passwordless login in python #107

Closed Althafali021 closed 2 years ago

Althafali021 commented 4 years ago

Need iDRAC passwordless login in python script using these functionalities.

  1. ssh-keygen -t rsa

  2. cat id_rsa.pub

  3. racadm sshpkauth -i 2 -k 1 -t " contents in path id_rsa.pub ".

  4. racadm sshpkauth -v -i 2 -k all

    5.# ssh root@idrac_ip "racadm serveraction powerstatus "