www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: libssh2_sftp_init ... I don't get it.

Re: libssh2_sftp_init ... I don't get it.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 15 Oct 2010 15:07:11 +0200 (CEST)

On Fri, 15 Oct 2010, may nothing wrote:

> Honestly I can't realy see the "big" difference between authentification by
> password and "keyboard interactive" besides the interactive part ... but I
> guess that's a different story.

It is. Peter Stuge has explained that before on this mailing list and I'm sure
you can find other resources that detail the differences.

> One last thing: your example creates a char "buffer" of 1kb. But is that
> suitable/adviceable for "real world" applications? Shouldn't it be (much)
> bigger like 512kb ? Waht's your suggestions ?

Currently, you will not gain anything at all (libssh2-wise at least) by going
above 32K so I would probably recommend exactly that size.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-15

the libssh2 team