Closed eunsikNota closed 2 months ago
Thanks for the report. I fixed in https://github.com/nwtgck/handy-sshd/commit/f6d96d1a78877168b9b02e2b6de530b9dce66fe5. Could you upgrade to 0.4.3?
10.169.4.77/241970/01/01 00:05:46 INFO new SSH connection remote_address=10.169.4.1:52928 client_version=SSH-2.0-OpenSSH_for_Windows_8.6 1970/01/01 00:05:46 INFO creating pty... 1970/01/01 00:05:46 INFO failed to start pty err="open /dev/ptmx: no such file or directory" 1970/01/01 00:05:46 INFO session closed
ls /dev/ptmx
/dev/ptmx
/dev/ptmx
exists but the error says "no such file or directory"... I'm not sure why.
handy-sshd relies on https://github.com/creack/pty for pty. Resovling this issue may improve creack/pty. The environment information, like OS may help to solve this issue.
Running the other tools using pty may provide better error:
python3 -c 'import pty; pty.spawn("bash")'
OR
socat EXEC:'bash -li',pty,stderr,setsid,sigint,sane,rawer -