diff options
author | Guillermo Ramos | 2023-12-01 12:34:03 +0100 |
---|---|---|
committer | Guillermo Ramos | 2023-12-01 12:34:03 +0100 |
commit | 54666471881603c5359fe0998cccfe9542f58f3d (patch) | |
tree | 1cc93fca797370d2f118c848ab6d8da455c06ca5 | |
parent | d67aa99ef627fd028da6059ad5610866e6332877 (diff) | |
download | cli-54666471881603c5359fe0998cccfe9542f58f3d.tar.gz |
ssf: improve ssh file loading
-rwxr-xr-x | ssf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ my @hosts; my $remote_session_name = $ENV{SSF_REMOTE_USER} || $ENV{USER}; -foreach my $cfgfile (glob "$ENV{HOME}/.ssh/*config") { +foreach my $cfgfile (glob "$ENV{HOME}/.ssh/config.d/*") { open(my $ssh_config, '<', $cfgfile) or die "nope"; my @line_hosts; while (my $line = <$ssh_config>) { |