Re: [libssh2] Requirement of public key for client authentication

2007-04-12 Thread Sara Golemon
[EMAIL PROTECTED] wrote: > The function libssh2_userauth_publickey_fromfile(), as used in the example > scp.c and sftp.c programs, takes arguments for both the public and private > keys of the user. However, the -i option in OpenSSH's scp and ssh takes > only the private key to perform the same op

Re: [libssh2] Requirement of public key for client authentication

2007-03-22 Thread Dan Fandrich
On Wed, Mar 14, 2007 at 11:58:24AM -0700, I wrote: > The function libssh2_userauth_publickey_fromfile(), as used in the example > scp.c and sftp.c programs, takes arguments for both the public and private > keys of the user. However, the -i option in OpenSSH's scp and ssh takes > only the private

[libssh2] Requirement of public key for client authentication

2007-03-14 Thread Dan Fandrich
The function libssh2_userauth_publickey_fromfile(), as used in the example scp.c and sftp.c programs, takes arguments for both the public and private keys of the user. However, the -i option in OpenSSH's scp and ssh takes only the private key to perform the same operation. Is there a way to have