# File lib/net/ssh/known_hosts.rb, line 35 def hostfiles(options, which=:all) files = [] if which == :all || which == :user files += Array(options[:user_known_hosts_file] || %w(~/.ssh/known_hosts ~/.ssh/known_hosts2)) end if which == :all || which == :global files += Array(options[:global_known_hosts_file] || %w(/etc/ssh/known_hosts /etc/ssh/known_hosts2)) end return files end