static public Method

KnownHosts.hostfile_locations

There's no documentation for this item.

Source Code

# File net/ssh/known-hosts.rb, line 33
def hostfile_locations
  @hostfile_locations ||= [
    "#{home_directory}/.ssh/known_hosts",
    "#{home_directory}/.ssh/known_hosts2",
    "/etc/ssh/ssh_known_hosts",
    "/etc/ssh/ssh_known_hosts2"
  ]
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.