Skip to content

Config refers to the parameter for a private key as a public key. #227

Description

@msglm

This line would lead one to believe that you need to pass the file path in for a ssh public key, however this contradicts the code on this line:

sshAuthMethods.add(new AuthPublickey(sshClient.loadKeys(

in sshj, sshClient.loadKeys(FilePathString) wants "a location on the file system where an unencrypted private key file (does not require a passphrase) can be found", not a public key file, which is what the documentation states.

This caused quite a bit of confusion for me when configuring this plugin, so it'd be helpful if it was fixed in the future.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions