mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
Add a exec test.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@713 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@ -47,7 +47,7 @@ static int auth_kbdint(SSH_SESSION *session){
|
||||
}
|
||||
|
||||
int authenticate (SSH_SESSION *session){
|
||||
int auth=ssh_userauth_autopubkey(session);
|
||||
int auth=ssh_userauth_autopubkey(session, NULL);
|
||||
char *password;
|
||||
if(auth==SSH_AUTH_ERROR){
|
||||
fprintf(stderr,"Authenticating with pubkey: %s\n",ssh_get_error(session));
|
||||
|
Reference in New Issue
Block a user