JSCH - Invalid private key

前端 未结 5 1801
甜味超标
甜味超标 2020-12-06 00:43

I am running JDK 1.7 & Windows 7 using netbeans 7.2 I have generated a SSH private & public key pair (SSH2-2048 bits) using putty-keygen. I do not have any password

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-06 01:39

    Perhaps not a solution for you, but I found this question when I searched for my issue.

    I had accidentally given the path to the public keyfile when JSCH expected the private keyfile.

提交回复
热议问题