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:
@ -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 : ";
|
||||
|
Reference in New Issue
Block a user