From bcb741526690b730a48354c6b3d5300ebce1ebfa Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 17 May 2008 16:17:52 +0200 Subject: [PATCH] Check known_hosts files as well Suggested by Arthur de Jong. --- dowkd.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dowkd.in b/dowkd.in index d7f7056..4cdf3fb 100644 --- a/dowkd.in +++ b/dowkd.in @@ -229,6 +229,10 @@ sub from_user ($) { from_ssh_auth_file $file if -r $file; $file = "$dir/.ssh/authorized_keys2"; from_ssh_auth_file $file if -r $file; + $file = "$dir/.ssh/known_hosts"; + from_ssh_auth_file $file if -r $file; + $file = "$dir/.ssh/known_hosts2"; + from_ssh_auth_file $file if -r $file; $file = "$dir/.ssh/id_rsa.pub"; from_ssh_key_file $file if -r $file; $file = "$dir/.ssh/id_dsa.pub"; -- 2.11.4.GIT