From 27b7953c8c369b67dc40164a3d128c508a0feb8e Mon Sep 17 00:00:00 2001 From: Artem Bliznetsov Date: Wed, 10 Apr 2024 12:46:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BF=D0=BE=D0=B8=D1=81=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ssh_helper => ssh-helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename ssh_helper => ssh-helper (54%) diff --git a/ssh_helper b/ssh-helper similarity index 54% rename from ssh_helper rename to ssh-helper index 26757ac..9d1777a 100755 --- a/ssh_helper +++ b/ssh-helper @@ -1,5 +1,5 @@ #!/bin/bash -CONFIG=($(grep -E "^$1" $SSH_CONNECTOR_HOST_LIST)) +CONFIG=($(grep -E "^$1\s" $SSH_HELPER_HOST_LIST)) ssh ${CONFIG[2]}@${CONFIG[1]} -p ${CONFIG[3]}