[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] docs: correction for importing key file
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Re: [PATCH] docs: correction for importing key file
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 21 Dec 2017 12:31:37 +0100
- To: libssh@xxxxxxxxxx
- Cc: Eric Bentley <ebentley66@xxxxxxxxx>
On Monday, 27 November 2017 19:12:51 CET Eric Bentley wrote: > Signed-off-by: ebentley66@xxxxxxxxx > > --- > doc/authentication.dox | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/authentication.dox b/doc/authentication.dox > index 8ade542..7a0023e 100644 > --- a/doc/authentication.dox > +++ b/doc/authentication.dox > @@ -46,7 +46,7 @@ The ssh_userauth_publickey_auto() function also tries to > authenticate using the SSH agent, if you have one running, or the "none" > method otherwise. > > If you wish to authenticate with public key by your own, follow these > steps: - - Retrieve the public key with ssh_import_pubkey_file(). > + - Retrieve the public key with ssh_pki_import_pubkey_file(). > - Offer the public key to the SSH server using > ssh_userauth_try_publickey(). If the return value is SSH_AUTH_SUCCESS, the > SSH server accepts to authenticate using the public key and you can go to > the next step. Pushed uptream, thanks! -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Archive administrator: postmaster@lists.cynapses.org