summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 120f09458..d9ed5910b 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1084,7 +1084,7 @@ check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port,
1084 error("Offending key for IP in %s:%lu", 1084 error("Offending key for IP in %s:%lu",
1085 ip_found->file, ip_found->line); 1085 ip_found->file, ip_found->line);
1086 error(" remove with:"); 1086 error(" remove with:");
1087 error(" ssh-keygen -f \"%s\" -R %s", 1087 error(" ssh-keygen -f \"%s\" -R \"%s\"",
1088 ip_found->file, ip); 1088 ip_found->file, ip);
1089 } 1089 }
1090 } 1090 }
@@ -1095,7 +1095,8 @@ check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port,
1095 error("Offending %s key in %s:%lu", key_type(host_found->key), 1095 error("Offending %s key in %s:%lu", key_type(host_found->key),
1096 host_found->file, host_found->line); 1096 host_found->file, host_found->line);
1097 error(" remove with:"); 1097 error(" remove with:");
1098 error(" ssh-keygen -f \"%s\" -R %s", host_found->file, host); 1098 error(" ssh-keygen -f \"%s\" -R \"%s\"",
1099 host_found->file, host);
1099 1100
1100 /* 1101 /*
1101 * If strict host key checking is in use, the user will have 1102 * If strict host key checking is in use, the user will have