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

Can't use dropbear private key file #30

Open
pwFoo opened this issue Apr 4, 2023 · 0 comments
Open

Can't use dropbear private key file #30

pwFoo opened this issue Apr 4, 2023 · 0 comments

Comments

@pwFoo
Copy link

pwFoo commented Apr 4, 2023

Tried to use the branch with key auth, but doesn't work with dropbear generated rsa key.
Key seems to be valid with dropbear, but is unparseable for reverse-ssh?

dropbearkey -f /root/.ssh/id_dropbear -y
Public key portion is:
ssh-rsa <KEY> root@<HOST>
Fingerprint: SHA256:<FPRINT>

The ID file isn't a readable file?

Tested with a ssh-keygen generated pair and that seems to work.

But looks like binary uses the password instead of the rsa key...?

2023/04/04 20:53:42 Successful authentication with password from [email protected]:17424
2023/04/04 20:53:42 Attempt to bind at 127.0.0.1:8888 granted

Key file is read without an error. Debug lines say auth by password?
Is there a option to disable password and only use key auth?

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

1 participant