New backup 2025-09-27 01:15:01

This commit is contained in:
Penelope Gwen 2025-09-27 01:15:01 -07:00
parent 4327408e03
commit 1aef3a174f
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#!/usr/bin/env bash
if [[ -z ${1} ]];then
echo "no host provided"
exit 1
fi
host="${1}"
if [[ -z ${2} ]];then
echo "no icon provided"
exit 1
fi
icon="${2}"
echo "${host}"
echo "${host#*@}"
#exit 0
alacritty -T "${icon} ${host#*@}" -e bash -c '\
eval $(ssh-agent) &> /dev/null; \
ssh-add ~/.ssh/id_ed25519 &> /dev/null; \
ssh -A '"${host}"

View file

@ -13,3 +13,4 @@ Scripts/iso_updater.sh
.config/fastfetch/config.jsonc .config/fastfetch/config.jsonc
Scripts/fix-swap-part.sh Scripts/fix-swap-part.sh
.local/bin/serverutil-deb-upload .local/bin/serverutil-deb-upload
.local/bin/ssh-agent-handler.sh