mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
session: Do not search for RSA1 keys in ~/.ssh/identity
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
ed738bee34
commit
e1d2454dd7
@@ -151,15 +151,6 @@ ssh_session ssh_new(void) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
id = strdup("%d/identity");
|
|
||||||
if (id == NULL) {
|
|
||||||
goto err;
|
|
||||||
}
|
|
||||||
rc = ssh_list_append(session->opts.identity, id);
|
|
||||||
if (rc == SSH_ERROR) {
|
|
||||||
goto err;
|
|
||||||
}
|
|
||||||
|
|
||||||
return session;
|
return session;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
|
|||||||
Reference in New Issue
Block a user