aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEric Bentley <ebentley66@gmail.com>2017-11-27 13:12:51 -0500
committerAndreas Schneider <asn@cryptomilk.org>2017-12-21 12:31:11 +0100
commit5fdfa8fe444b30a8a2c8b5eea70ed6f475caf500 (patch)
treeaa19f273ef599aa44115087f435a1d4cbe7e54a3 /doc
parent176b92a4f4a3260360c55086f7f95e760f354a8a (diff)
downloadlibssh-5fdfa8fe444b30a8a2c8b5eea70ed6f475caf500.tar.gz
libssh-5fdfa8fe444b30a8a2c8b5eea70ed6f475caf500.tar.xz
libssh-5fdfa8fe444b30a8a2c8b5eea70ed6f475caf500.zip
docs: correction for importing key file
Signed-off-by: ebentley66@gmail.com Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/authentication.dox2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/authentication.dox b/doc/authentication.dox
index 8ade5422..7a0023e3 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.