aboutsummaryrefslogtreecommitdiff
path: root/examples/libsshpp.cpp
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-25 09:54:26 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-25 10:19:09 +0200
commit89253fd22a69108aa2ffe8907cdf9d2de2bcdb47 (patch)
treefb27c774644cac32c212031082107a16ffc8c448 /examples/libsshpp.cpp
parent21261270e5facb6ae2500b8497683d9ca0933dfb (diff)
downloadlibssh-89253fd22a69108aa2ffe8907cdf9d2de2bcdb47.tar.gz
libssh-89253fd22a69108aa2ffe8907cdf9d2de2bcdb47.tar.xz
libssh-89253fd22a69108aa2ffe8907cdf9d2de2bcdb47.zip
auth: Make ssh_userauth_autopubkey legacy.
Diffstat (limited to 'examples/libsshpp.cpp')
-rw-r--r--examples/libsshpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libsshpp.cpp b/examples/libsshpp.cpp
index 05fa7499..8f042a45 100644
--- a/examples/libsshpp.cpp
+++ b/examples/libsshpp.cpp
@@ -23,7 +23,7 @@ int main(int argc, const char **argv){
else
session.setOption(SSH_OPTIONS_HOST,"localhost");
session.connect();
- session.userauthAutopubkey();
+ session.userauthPublickeyAuto();
session.disconnect();
} catch (ssh::SshException e){
std::cout << "Error during connection : ";