From a3bfa43b0f0dde665bb5604ec380dec0923d44a4 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 8 Sep 2001 11:57:00 +0000 Subject: [PATCH] Fix error message: couldn't load _private_ key, not public. [originally from svn r1251] --- ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh.c b/ssh.c index e793412b..9ef7e0c6 100644 --- a/ssh.c +++ b/ssh.c @@ -2305,7 +2305,7 @@ static int do_ssh1_login(unsigned char *in, int inlen, int ispkt) tried_publickey = 1; i = loadrsakey(cfg.keyfile, &pubkey, password); if (i == 0) { - c_write_str("Couldn't load public key from "); + c_write_str("Couldn't load private key from "); c_write_str(cfg.keyfile); c_write_str(".\r\n"); continue; /* go and try password */