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

Unable to Connect to Dropbear SSH Server #323

Open
sansjtw1 opened this issue Sep 21, 2024 · 0 comments
Open

Unable to Connect to Dropbear SSH Server #323

sansjtw1 opened this issue Sep 21, 2024 · 0 comments

Comments

@sansjtw1
Copy link

Unable to Connect to Dropbear SSH Server

I am facing an issue where the Dropbear SSH server does not permit client connections, despite the absence of errors in the logs.

Server Output:

$ ./dropbear -F -r /data/data/com.package/anopenssh/key/dropbear_rsa_key -p 22441 -s
[16624] Sep 21 08:27:26 Not backgrounding
[16672] Sep 21 08:27:35 Child connection from 127.0.0.1:51600

Client Output:

$ ssh -p 22441 [email protected]
The authenticity of host '[0.0.0.0]:22441 ([0.0.0.0]:22441)' can't be established.
RSA key fingerprint is SHA256:ZcdNEwL9vtVVPfOa1r26znukBFzaOFR/3xSbMUvcWMk.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[0.0.0.0]:22441' (RSA) to the list of known hosts.
Connection closed by 127.0.0.1 port 22441

Environment:

  • Dropbear version: v2024.85
  • Operating System: Android 10 (rootless)
  • kernel version: Liunx 4.14.141+
  • Compilation environment: Termux (rootless)
  • Server: Android terminal emulator (rootless)
  • Client: Android Termux (rootless)

Steps to Reproduce:

  1. Start Dropbear server with the command: ./dropbear -F -r /data/data/com.package/anopenssh/key/dropbear_rsa_key -p 22441 -s
  2. Attempt to connect from the client using: ssh -p 22441 [email protected]

Expected Behavior: The client should successfully connect to the Dropbear server.

Actual Behavior: The connection is immediately closed after authentication.

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