better ssh

This commit is contained in:
2025-09-30 00:26:58 +02:00
parent 1a6fe0ca68
commit 77a51d0485
5 changed files with 45 additions and 13 deletions

View File

@@ -1,10 +0,0 @@
#!/usr/bin/env bash
if [ -z "$SSH_AUTH_SOCK" ]; then
eval "$(ssh-agent -s)" >/dev/null 2>&1
for key in "$HOME/.ssh/keys/"*; do
if [ -f "$key" ]; then
ssh-add "$key" >/dev/null 2>&1
fi
done
fi