archlinux-4044C
archlinux-4044C copied to clipboard
Fix for PTY allocation failure when connecting with ssh
First of all, great guide! It helped me a lot installing a persistent dropbear on my Nokia 8110 4G. Somewhere halfway the guide you mention that you need to ssh in with the "sh" command appended, because your binary of dropbear is not able to allocate a pty. This is caused by a compile flag (not sure which though), but looking at the code in sshpty.c you're probably missing any of the HAVE_???PTY or USE_DEV_PTMX preprocessor flags. I found a binary of dropbear from the same 2018.76 codebase where it is able to get a pty and present a proper shell after login: https://forum.xda-developers.com/showpost.php?p=78453473&postcount=36
Hey, apologies for the late response, I didn't receive a notification for some reason. Anyway, have you tried this binary and did it work on your device? I could try compiling it by myself at some point later with those flags too, or you could and report any success here :).
That binary is my daily driver since i found it, works flawlessly.