Dan Fandrich <[EMAIL PROTECTED]>
writes:

> On Fri, Nov 21, 2008 at 04:03:58PM +0100, Simon Josefsson wrote:
>> There is a nit with OpenSSH run as non-root: it dies trying to update
>> the last-log on the system, which is understandable because it does not
>> have appropriate write access.  I've not found any way to disable this
>> behaviour in OpenSSH. :( So right now the script does not diagnose
>> OpenSSH errors.  Fixing it would be nice, but not critical.
>
> Take a look at what we've done for curl. There's a sophisticated script to
> check which sshd options are supported by the given version and all relevant
> options are set that make sense. I don't recall seeing the particular problem
> you mention, for example.  Actually, the existing curl test suite should
> give reasonable test coverage for libssh2 already.

Oh, I hadn't seen this until now.  Thanks for the pointer.  It does seem
somewhat more advanced than my stuff... However, separating that setup
from the curl entanglement is really beyond what I have time for right
now.  I don't see a conflict between my initial code and the
curl-approach though, the more tests the better.  If you have time to
merge back the sshserver.pl and runtests.pl stuff from curl to libssh2,
that would be great.  It could run next to my stuff to get further code
coverage.

Thanks,
/Simon


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to