I am trying to connect to phpclould using netbeans.
I am following the instruction writen on eschrade blog
On the following step, I have provided all necessary information and private key

But I am getting following error when I press the test connection button
Cannot connect to server XXX.my.phpcloud.com
(Cause: invalid privatekey: key.ppk)
I know key is correct bucause I used the same key with winScp and it worked perfectly fine.
Any Idea?
It turns out the the private key must be in OpenSSH format. Use Puttygen to load your .ppk file and then export it as an openssh key (.priv). Then specify the .priv file in the Netbeans dialog box.
See this link.