Skip to content

Commit

Permalink
Merge pull request #4 from britcey/patch-1
Browse files Browse the repository at this point in the history
Include system-wide known_hosts files
  • Loading branch information
isometry authored Jul 13, 2019
2 parents dde3e3e + 4f1270f commit 9fa8b81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alfredssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def complete():
for results in (
fetch_file('~/.ssh/config', 'ssh_config', 'ssh_config', 'ssh_config'),
fetch_file('~/.ssh/known_hosts', 'known_hosts', 'known_hosts', 'known_hosts'),
fetch_file('/etc/ssh/ssh_known_hosts', 'systemwide_known_hosts', 'known_hosts', 'known_hosts'),
fetch_file('/usr/local/etc/ssh/ssh_known_hosts', 'localetc_known_hosts', 'known_hosts', 'known_hosts'),
fetch_file('/etc/hosts', 'hosts', 'hosts', 'hosts'),
fetch_bonjour()
):
Expand Down

0 comments on commit 9fa8b81

Please sign in to comment.