mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-20 17:15:41 +02:00
10 lines
221 B
Bash
Executable file
10 lines
221 B
Bash
Executable file
#!/bin/sh
|
|
|
|
export SSH_ASKPASS=/usr/bin/ssh-askpass
|
|
ssh-add -l > /dev/null || ssh-add $(
|
|
sed -n 's/^ *IdentityFile ~\/\([^ ]*\).*/\1/p' ~/.ssh/config ~/.ssh/*/config \
|
|
| sort \
|
|
| uniq
|
|
)
|
|
|
|
ssh-add -l
|