Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] SSH auth using arbitrary private key

(hit send too soon)

Hi JGit devs,
I'm trying to write a client that uses JGit to make changes to repos, add commits, and push to repos that the users already have access to via an SSH remote URI. In my testing I'm finding that a key generated using Mac OS X ssh-keygen is invalid (com.jcraft.jsch.JSchException: invalid privatekey). How does eclipse do it? If eclipse is able to remain agnostic to the private key format and just work then it must be converting your local key to a version that JSch is happy with or they aren't using JSch for all use cases. I appreciate any feedback. 


Aaron


On Fri, Jul 18, 2014 at 4:16 PM, Aaron Tull <atull@xxxxxxxxxxx> wrote:
I


Back to the top