Search code examples
puttyjschprivate-keypublic-key

JSch how to use with PuTTY private key


I'm trying to use JSch with a private key configuration. I've generated a public and private key using PuTTYgen but am unsure what to do with both of the files.

Which key (public/private) needs transferring to the server?


Solution


  • Make sure you use the latest version of JSch, as older versions do not support the .ppk format natively.