aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Ramos2023-12-01 12:34:03 +0100
committerGuillermo Ramos2023-12-01 12:34:03 +0100
commit54666471881603c5359fe0998cccfe9542f58f3d (patch)
tree1cc93fca797370d2f118c848ab6d8da455c06ca5
parentd67aa99ef627fd028da6059ad5610866e6332877 (diff)
downloadcli-54666471881603c5359fe0998cccfe9542f58f3d.tar.gz
ssf: improve ssh file loading
-rwxr-xr-xssf2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssf b/ssf
index 8915c9a..6df0c63 100755
--- a/ssf
+++ b/ssf
@@ -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>) {