Subject: Re: Beginner question on example code

Re: Beginner question on example code

From: Uli Zappe <>
Date: Fri, 24 Sep 2010 11:06:44 +0200

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.


  Uli Zappe, Solmsstraße 5, D-65189 Wiesbaden, Germany
  Fon: +49-700-ULIZAPPE
  Fax: +49-700-ZAPPEFAX

Received on 2010-09-24