Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nets/net_ssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static int bind_key(enum ssh_bind_options_e opt, const char *filename)
bbs_warning("Can't access key %s - missing or not readable?\n", filename);
return 0;
}
return ssh_bind_options_set(sshbind, opt, KEYS_FOLDER "ssh_host_rsa_key") ? 0 : 1;
return ssh_bind_options_set(sshbind, opt, filename) ? 0 : 1;
}

static int start_ssh(void)
Expand Down
Loading