How to run PuTTYgen from a .NET Lambda function

0

I have a .NET Lambda function. I need to generate a new RSA key pair and convert the private key to PPK format with a passphrase.

Since PPK is a PuTTYgen-specific format, I have been unable to find any native .NET tools to do the conversion of the generated key to PPK.

As an alternative, I have read that it is possible to run arbitrary executables from Lambda, but all the examples are nodejs.

So my question is, how would I go about packaging PuTTYgen into my Lambda function and then executing it with C#?

gefragt vor 6 Monaten175 Aufrufe
1 Antwort
-1

Why does it need to be a ppk? Putty supports OpenSSL keys which you could create from OpenSSL libraries.

profile picture
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen