From 9aa9831f9beda4db4bc3777c15e67ed4714bc193 Mon Sep 17 00:00:00 2001 From: sose Date: Fri, 10 Jul 2020 07:03:05 +0000 Subject: [PATCH] set key file executable by default --- basics.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/basics.sh b/basics.sh index e38e5d5..5d60c7f 100755 --- a/basics.sh +++ b/basics.sh @@ -3,6 +3,7 @@ ssh_command="" check_key_file() { + chmod 700 /tilde/key/* key_file="$(find /tilde/key | tail -n1)" if [ -f "$key_file" ] then