Ciao Fabio,
Sorry for my late reply,
But I tried that RSA ssh key pairs thank you for the links.
The most important thing to done in windows, you must create authorized_keys file from scratch in the right ssh folder.
And the private key must be kept secret for example in our case
we setted up a ssh passwordless connection from ESXi to a windows VM.
so I created the key pairs in ESXi and copied public key content into authorized_keys file in Windows.
Now it works perfectly i can ssh to VM from Esxi without prompted die password or user name.
NOW I have new challanges. I always find new challanges for myself to perform the right solutions.
1. How can I read the power loss in ESXi exactly IDRAC reads power statuses . Idrac shows power status for both power inlets.
So if can read those power inlets statuses I can create a logic that main power is lost.
2. How can I read SNMP messages broadcasted by 3rd party master agents to ESXi.
When the power lost happens either apc schneider or ompron Power act pro master agents broadcasts snmp messages, so I am aiming to catch them into a script and combine them with my logic in item 1 (that reading power status of power inlets)
I would be very happy if you can send me some information where I can find
1. How to read Power status of ESXi ?
2. How to catch SNMP messages in ESXi ?
Best Regards