diff options
author | Colin Watson <cjwatson@debian.org> | 2015-09-08 14:50:08 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-09-08 14:52:25 +0100 |
commit | 573eae1ca709a461eff57d1949d5329b9e398894 (patch) | |
tree | 9acdec271c019b813c7f34ce9736c2c55c83e5d3 /sshconnect.c | |
parent | ef2ad2b21bb1785b4a81eb1415cab97ede1812b6 (diff) | |
parent | fb43a1fa9d049900efd76861b9496a9585ba4759 (diff) |
mention-ssh-keygen-on-keychange.patch: Move example ssh-keygen invocation onto a separate line to make it easier to copy and paste (LP: #1491532).
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 7 |
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 |