mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Agent forwarding works
--HG-- branch : agent-client extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
This commit is contained in:
@@ -187,10 +187,9 @@ int cli_auth_pubkey() {
|
||||
|
||||
TRACE(("enter cli_auth_pubkey"))
|
||||
|
||||
if (cli_opts.agent_fwd &&
|
||||
!cli_opts.agent_keys_loaded) {
|
||||
if (!cli_opts.agent_keys_loaded) {
|
||||
/* get the list of available keys from the agent */
|
||||
load_agent_keys(cli_opts.privkeys);
|
||||
cli_load_agent_keys(cli_opts.privkeys);
|
||||
cli_opts.agent_keys_loaded = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user