Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the expected input in the private key field #132

Open
1na opened this issue Oct 2, 2018 · 5 comments
Open

What is the expected input in the private key field #132

1na opened this issue Oct 2, 2018 · 5 comments

Comments

@1na
Copy link

1na commented Oct 2, 2018

Hi Tjibbe, sorry to use the issues for a question, I found no other way to get in touch. I like your app and I am trying to use it with key authentication

I am trying to use public key authentication but encounter some issues. My questions is I am assuming the field needs a key file. Where can the file reside and what should be the path for the file in the field?

Kind regards, Louis

@yoichiro
Copy link
Collaborator

@1na I answer for your question instead of Tjibbe.

I am trying to use public key authentication but encounter some issues. My questions is I am assuming the field needs a key file. Where can the file reside and what should be the path for the file in the field?

After generating your key pair, select the Public Key item from the Authentication Type, then fill in the content of your private key file to the Private key textarea. That is, you don't need to enter the file path of your private key file. Instead, you need to enter the private key string into the Private Key field.

@eevleevs
Copy link

I am getting an "unable to extract public key from private key file...". What format should it be? I am pasting a private key generated by ssh-keygen without password.

@mightywomble
Copy link

I'm getting the same thing, any feedback on this?

@pluggyboy
Copy link

I found i had to use the following format, including the 'begin' and 'end' lines.

-----BEGIN RSA PRIVATE KEY-----
private key in here
-----END RSA PRIVATE KEY-----

@eevleevs
Copy link

eevleevs commented Jan 6, 2020

Weird , I thought to have tried this. Works for me, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants