2013-04-25 07:44 AM
I try to get KeyAuthentication with Invoke-NaSsh to work. I get following error Message:
Invoke-NaSsh : Invalid private key file.
When I use plink.exe with this key I´m trying everything work fine.
In which format the ppk FIle is expected?
Can anyone send me out a valid public / private Key Pair, that I can check what is missing in my file.
Solved! SEE THE SOLUTION
2013-04-25 12:19 PM
The private key file should be in the OpenSSH format. If you are using PuTTYgen to create the .ppk, go to Conversions -> Export OpenSSH key to export the private key in the correct format.