repos_list_file="${public_repos_dir}/repos"
dir_secrets="${HOME}/tmp_secrets"
borgkeys_dir=~/.config/borg/keys
repos_list_file="${public_repos_dir}/repos"
dir_secrets="${HOME}/tmp_secrets"
borgkeys_dir=~/.config/borg/keys
# Sync org dir via borgbackup. For this we need the borgbackup servers
# in our .ssh/known_hosts file.
# Sync org dir via borgbackup. For this we need the borgbackup servers
# in our .ssh/known_hosts file.
first_char=$(echo "${line}" | cut -c1)
if [ "${first_char}" = "#" ]; then
continue
fi
ssh-keyscan "${line}" >> "${ssh_dir}"/known_hosts
done
first_char=$(echo "${line}" | cut -c1)
if [ "${first_char}" = "#" ]; then
continue
fi
ssh-keyscan "${line}" >> "${ssh_dir}"/known_hosts
done