Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In this case it was about LD_PRELOAD. The behaviour is still surprising. I would've expected it to be a drop in replacement -- it is in most cases.

Sure, sanitizing the environment for process calls is doable, but this also means I can't use libssh2 at all.



Hang on - you can't use libssh2, or openssh? They're totally separate projects


I tried OpenSSH, libssh and libssh2. All three fail, though admittedly I don't know for sure this was the cause of failure for the two latter; they gave me no diagnostics.

They all worked fine without LD_PRELOAD though, so...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: