Daniel and Simon,

sshd -ddd clearly shows that the problem is on my system $HOME user's
permissions:

debug3: secure_filename: checking '/home/yang/libssh2/tests/etc'
debug3: secure_filename: checking '/home/yang/libssh2/tests'
debug3: secure_filename: checking '/home/yang/libssh2'
debug3: secure_filename: checking '/home/yang'
Authentication refused: bad ownership or modes for directory /home/yang

Adding -o 'StrictModes no' in ssh2.sh sshd options allows the test to
succeed even with the wrong $HOME permissions.

Without adding -o 'StrictModes no' in ssh2.sh and setting $HOME
permissions to 755 makes tests succeed.

BTW all libssh2 related libcurl tests pass OK!

-- 
-=[Yang]=-

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to