search for: acceptallkey

Displaying 1 result from an estimated 1 matches for "acceptallkey".

Did you mean: acceptallkeys
2003 Jun 20
1
[PATCH] accepting changed hostkeys
...ssinged for the machine to test). So every time I want to connect to a new machine I have to delete the previous key from the known_hosts file. Since I got tired of running a remove script manually, I made this small patch which adds the possibility to replace the real key with the string "AcceptAllKeys" (case sensitive) in the known_hosts file. e.g.: replace test,172.16.1.123 ssh-rsa AAAAB3Nz... with test,172.16.1.123 AcceptAllKeys and it won't bug you anymore. Any comments? I'm not 100% sure about the if (key == NULL) continue; part in my patch since I haven't digged through...