diff --git a/CHANGES b/CHANGES index 07e931ab0188f06e28388c2736d522aa94fc5a6e..18c71f933e60642d5239558d9fff0530c8633dce 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,17 @@ +0.44test5 - + +- Fix dbclient so that "scp -i keyfile" works. (It can handle "-ikeyfile + properly) + +- Fix for PAM auth so that usernames are logged and conversation function + responses are allocated correctly. + +- Avoid a race in server shell-handling code which prevents the exit-code + from being returned to the client. + +- Makefile modified so that install target works correctly (doesn't try + to install "all" binary) - patch from Juergen Daubert + 0.44test4 - Tue Sept 14 21:15:54 +0800 - Fix inetd mode so it actually loads the hostkeys (oops) diff --git a/cli-runopts.c b/cli-runopts.c index 2aa341344b85eddedbda2f3799846c99eb46ce30..b8ecdc0cf9357ba052eb11aba3eb8cf772798faa 100644 --- a/cli-runopts.c +++ b/cli-runopts.c @@ -149,7 +149,12 @@ void cli_getopts(int argc, char ** argv) { break; #ifdef ENABLE_CLI_PUBKEY_AUTH case 'i': /* an identityfile */ - nextiskey = 1; + /* Keep scp happy when it changes "-i file" to "-ifile" */ + if (strlen(argv[i]) > 2) { + loadidentityfile(&argv[i][2]); + } else { + nextiskey = 1; + } break; #endif case 't': /* we want a pty */