简体   繁体   中英

Does Jsch support PPK3 format for Authentication and Algorithms

We are using Jsch library (jsch-0.1.55.jar) to make connection with SFTP server (Bitvise).

We are using PPk2 private Key Format and its working fine with mentioned SFTP Server. But when PPK3 private key format is used then it is not working with the same server.

We have following queries:

  1. Does Jsch library (jsch-0.1.55.jar) supports following algorithms:

    curve25519-sha256@libssh.org, diffie-hellman-group18-sha512, diffie-hellman-group16-sha512, diffie-hellman-group14-sha256

  2. Does Jsch library (jsch-0.1.55.jar) supports PPk3 Format?

  3. Can someone please help with the article or any workaround to resolve above issue?

JSch does not support PPK3.

Nor does the @mwiede's clone .


But it's just a format of the private key. There's nothing preventing you from converting your key to the PPK2 format. The server cannot tell the difference.


Your question on KEX algorithms has nothing to do with private keys.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM