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