in reply to Re: Net::SSH2 not base64 encoded
in thread Net::SSH2 not base64 encoded

the keys generated by puttygen are not directly usable for SSH

Correct. But PuTTYgen, the key generator, part of PuTTY, can also convert PuTTY keys to other formats. The format of the PuTTY keys is documented in https://the.earth.li/~sgtatham/putty/0.82/htmldoc/AppendixC.html, so you could extract all required data and convert to other formats in a different tool.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)