hierynomus / hierynomus/sshj

what's the exact format "KeyProvider loadKeys(String privateKey, String publicKey, PasswordFinder passwordFinder)' that want

Open
#816 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

In my case, I have to ssh via publickey for secure issue, when I using SSHClient#loadKeys(String privateKey, String publicKey, PasswordFinder passwordFinder) method, I don't know what kind of format it want, it says it need private key with PKCS8, but what about the public key format? I try some combinations but it doesn't work and says "Exhausted available authentication methods". thanks your time for this issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.