set key file executable by default

This commit is contained in:
sose 2020-07-10 07:03:05 +00:00
parent ae353d4647
commit 9aa9831f9b
1 changed files with 1 additions and 0 deletions

View File

@ -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