summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 988f4efe6..2999061b3 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1081,7 +1081,8 @@ check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port,
1081 if (ip_status != HOST_NEW) { 1081 if (ip_status != HOST_NEW) {
1082 error("Offending key for IP in %s:%lu", 1082 error("Offending key for IP in %s:%lu",
1083 ip_found->file, ip_found->line); 1083 ip_found->file, ip_found->line);
1084 error(" remove with: ssh-keygen -f \"%s\" -R %s", 1084 error(" remove with:");
1085 error(" ssh-keygen -f \"%s\" -R %s",
1085 ip_found->file, ip); 1086 ip_found->file, ip);
1086 } 1087 }
1087 } 1088 }
@@ -1091,8 +1092,8 @@ check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port,
1091 user_hostfiles[0]); 1092 user_hostfiles[0]);
1092 error("Offending %s key in %s:%lu", key_type(host_found->key), 1093 error("Offending %s key in %s:%lu", key_type(host_found->key),
1093 host_found->file, host_found->line); 1094 host_found->file, host_found->line);
1094 error(" remove with: ssh-keygen -f \"%s\" -R %s", 1095 error(" remove with:");
1095 host_found->file, host); 1096 error(" ssh-keygen -f \"%s\" -R %s", host_found->file, host);
1096 1097
1097 /* 1098 /*
1098 * If strict host key checking is in use, the user will have 1099 * If strict host key checking is in use, the user will have