1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-06-12 09:41:53 +03:00

auth: Make ssh_userauth_autopubkey legacy.

This commit is contained in:
Andreas Schneider
2011-08-25 09:54:26 +02:00
parent 21261270e5
commit 89253fd22a
7 changed files with 9 additions and 176 deletions

View File

@ -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 : ";