5a89c49d11
- Update to 5.9p1 * sandboxing privsep child through rlimit - spec files and sources cleanup - removed bogus key size from init script OBS-URL: https://build.opensuse.org/request/show/88642 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=14
17 lines
654 B
Diff
17 lines
654 B
Diff
Index: openssh-5.7p1/sshconnect.c
|
|
===================================================================
|
|
--- openssh-5.7p1.orig/sshconnect.c
|
|
+++ openssh-5.7p1/sshconnect.c
|
|
@@ -958,6 +958,11 @@ check_host_key(char *hostname, struct so
|
|
user_hostfiles[0]);
|
|
error("Offending %s key in %s:%lu", key_type(host_found->key),
|
|
host_found->file, host_found->line);
|
|
+ error("You can use following command to remove all keys for this IP:");
|
|
+ if (host_found->file)
|
|
+ error("ssh-keygen -R %s -f %s", hostname, host_found->file);
|
|
+ else
|
|
+ error("ssh-keygen -R %s", hostname);
|
|
|
|
/*
|
|
* If strict host key checking is in use, the user will have
|