mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
Update __fish_print_hostnames.fish
For Ubuntu the default global known host files are : /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2
This commit is contained in:
parent
e92779981f
commit
cbd9181b7e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ function __fish_print_hostnames -d "Print a list of known hostnames"
|
|||
end
|
||||
|
||||
# Check hosts known to ssh
|
||||
set -l known_hosts ~/.ssh/known_hosts{,2} /etc/ssh/known_hosts{,2} # Yes, seriously - the default specifies both with and without "2"
|
||||
set -l known_hosts ~/.ssh/known_hosts{,2} /etc/ssh/{,ssh_}known_hosts{,2} # Yes, seriously - the default specifies both with and without "2"
|
||||
# Check default ssh configs
|
||||
set -l ssh_config
|
||||
# Get alias and commandline options
|
||||
|
|
Loading…
Reference in a new issue