From ac4639be61984b84d23c9686db704e6685402ba9 Mon Sep 17 00:00:00 2001 From: AbelAnaya Date: Mon, 6 Nov 2023 22:21:57 +0100 Subject: [PATCH] fix: Use correct path for ssh configuration file --- scripts/ssh_session.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ssh_session.sh b/scripts/ssh_session.sh index 6f2a8c3..7d106d1 100755 --- a/scripts/ssh_session.sh +++ b/scripts/ssh_session.sh @@ -30,7 +30,7 @@ get_ssh_user() { $1 = ""; sub( /^[[:space:]]*/, "" ); printf "%s|%s\n", host, $0; - }' .ssh/config`; do + }' /etc/ssh/ssh_config`; do local host_regex=${ssh_config%|*} local host_user=${ssh_config#*|} if [[ "$1" =~ $host_regex ]]; then