简体   繁体   English

Jsch 是否支持 PPK3 格式的身份验证和算法

[英]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).我们正在使用 Jsch 库 (jsch-0.1.55.jar) 与 SFTP 服务器 (Bitvise) 建立连接。

We are using PPk2 private Key Format and its working fine with mentioned SFTP Server.我们正在使用 PPk2 私钥格式,它与提到的 SFTP 服务器一起工作正常。 But when PPK3 private key format is used then it is not working with the same server.但是当使用 PPK3 私钥格式时,它不能与同一台服务器一起使用。

We have following queries:我们有以下查询:

  1. Does Jsch library (jsch-0.1.55.jar) supports following algorithms: Jsch 库(jsch-0.1.55.jar)是否支持以下算法:

    curve25519-sha256@libssh.org, diffie-hellman-group18-sha512, diffie-hellman-group16-sha512, diffie-hellman-group14-sha256 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? Jsch 库 (jsch-0.1.55.jar) 是否支持 PPk3 格式?

  3. Can someone please help with the article or any workaround to resolve above issue?有人可以帮助这篇文章或解决上述问题的任何解决方法吗?

JSch does not support PPK3. JSch 不支持 PPK3。

Nor does the @mwiede's clone . @mwiede 的克隆也没有。


But it's just a format of the private key.但这只是私钥的一种格式。 There's nothing preventing you from converting your key to the PPK2 format.没有什么可以阻止您将密钥转换为 PPK2 格式。 The server cannot tell the difference.服务器无法区分。


Your question on KEX algorithms has nothing to do with private keys.您关于 KEX 算法的问题与私钥无关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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