projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eca845
)
Public key authentication now works in pscp too - oops
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 8 Sep 2000 08:33:52 +0000
(08:33 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 8 Sep 2000 08:33:52 +0000
(08:33 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@574
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
7511e08
..
4998476
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-1204,7
+1204,7
@@
static int do_ssh1_login(unsigned char *in, int inlen, int ispkt)
if (*cfg.keyfile && !tried_publickey)
pwpkt_type = SSH1_CMSG_AUTH_RSA;
- if (IS_SCP) {
+ if (
pwpkt_type == SSH1_CMSG_AUTH_PASSWORD &&
IS_SCP) {
char prompt[200];
sprintf(prompt, "%s@%s's password: ", cfg.username, savedhost);
if (!ssh_get_password(prompt, password, sizeof(password))) {