Created attachment 1479 [details] Output from sshd -4 -d I downloaded and installed OpenSSH 4.9 on OpenBSD 4.2 as per the instruction on OpenSSH.org. sshd can be started, but cannot be connect to from outside. Attached it output from sshd -4 -d
What platform are you on?
"on OpenBSD 4.2" I suspect :-) I also suspect that the rebuild was incomplete, probably because of missing dependency files (I've been bitten by that myself although not recently). Please try "cd /usr/src/usr.bin/ssh && make clean && make depend && make" and see if that resolves the problem.
The other thing to watch out for is object files in the source directory, if "make" has ever been run without a preceeding "make obj". To account for this, please try this instead of my previous suggested commandline: cd /usr/src/usr.bin/ssh find . -name obj | xargs rm -rf make clean cleandir make obj depend make Oh, and I see what djm meant by "what platform?": what hardware is "Other"?
Hello, it is running on AMD64 OpenBSD 4.2-release. Darren I will try your commands as long as possible, thanks.
Created attachment 1480 [details] Revert CMSG twiddling Please try this patch - it seems that some bugs in the kernel ABI were fixed post-4.3.
Damien, your patch seems to work!! The patch was applied to the source, then OpenSSH was installed as per the instruction at openssh.com/openbsd.html for OpenSSH 4.9. It now just connects like normal. Thanks.
Close resolved bugs after release.