-i works with scp now.

--HG--
extra : convert_revision : 0d1ed055bb2e8b8eca60cbf1cb8cab81688dbead
This commit is contained in:
Matt Johnston 2004-10-17 10:35:19 +00:00
parent 5c6e8b833e
commit 08cb903731
2 changed files with 20 additions and 1 deletions

14
CHANGES
View File

@ -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 0.44test4 - Tue Sept 14 21:15:54 +0800
- Fix inetd mode so it actually loads the hostkeys (oops) - Fix inetd mode so it actually loads the hostkeys (oops)

View File

@ -149,7 +149,12 @@ void cli_getopts(int argc, char ** argv) {
break; break;
#ifdef ENABLE_CLI_PUBKEY_AUTH #ifdef ENABLE_CLI_PUBKEY_AUTH
case 'i': /* an identityfile */ 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; break;
#endif #endif
case 't': /* we want a pty */ case 't': /* we want a pty */