From 462a1cfe488d22ee1cb498a6e63e8de60df05201 Mon Sep 17 00:00:00 2001 From: cy384 Date: Sun, 4 Oct 2020 12:20:43 -0400 Subject: [PATCH] warning on invalid username/key combo --- ssheven.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssheven.c b/ssheven.c index 1ce1f3a..d76313f 100644 --- a/ssheven.c +++ b/ssheven.c @@ -1130,9 +1130,9 @@ void* read_thread(void* arg) else if (rc == LIBSSH2_ERROR_FILE) StopAlert(ALRT_FILE_FAIL, nil); else if (rc == LIBSSH2_ERROR_PUBLICKEY_UNVERIFIED) { - printf_i("Invalid key files!\r\n"); // TODO: have an alert for this + printf_i("Username/public key combination invalid!\r\n"); // TODO: have an alert for this } - else printf_i("failure: %s\r\n", libssh2_error_string(rc)); + else printf_i("unexpected failure: %s\r\n", libssh2_error_string(rc)); ok = 0; } }