Probably those hosts disable password authentication and only enable
keyboard-interactive one.
Check out http://www.libssh2.org/examples/sftp.html
Best regards,
Mikhail Gusarov.
On Thu, May 29, 2014 at 6:20 PM, B Harder <brad.harder_at_gmail.com> wrote:
> I've got code that will connect to NetBSD, Solaris, Linux hosts and
> authenticate and Do What I Want. However, attempting to connect to a
> FreeBSD (10 release) or Mac OS X host yields authentication error. I'm
> sure the username/password is correct. If I use key-based
> authentication to these problem hosts though, everything works fine.
>
> Is there a known issue w/ OS X/FreeBSD ? Is there some
> boilerplate/reference code available for username/password
> authentication to use as basis for example to demonstrate?
>
> Kind regards,
>
> -bch
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-05-29