Paul Romero wrote:
> I have an elementary question about the SSH
> private key .  It is used only in authentication,

Yes, only for authentication.


> or at other times during an SFTP transaction ?

No, other keys and algorithms are negotiated as part of setting up
the connection. (Even before authentication.)

Enable debugging in libssh2, or run OpenSSH ssh -vvv when logging in,
to get a lot of information about the messages back and forth, as
part of setting up a session.

And of course there's always the RFCs. :)


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

Reply via email to