Am 24.09.2010 um 00:49 schrieb Ted Lemon:

> On Sep 23, 2010, at 3:36 PM, Jacob Rhoden wrote:
>> Can anyone help me understand why this might happen. Yes my 
>> username/password is correct. The documentation does lead me to believe the 
>> only reason this error could occur would be due to an incorrect username 
>> and/or password:
> 
> Does the host allow password authentication?

I guess that's the issue - Jacob will most probably have tried to connect to a 
Mac OS X host, and Mac OS X's shhd configuration does not allow password 
authentication.

So, Jacob, you'll have to add interactive keyboard authentication to the 
example code first before you can successfully use it on Mac OS X.

The sftp.c and ssh2.c examples show how to do this.

            Bye
                    Uli
________________________________________________________

  Uli Zappe, Solmsstraße 5, D-65189 Wiesbaden, Germany
  http://www.ritual.org
  Fon: +49-700-ULIZAPPE
  Fax: +49-700-ZAPPEFAX
________________________________________________________

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to