mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 01:25:42 +02:00
11 lines
221 B
Text
11 lines
221 B
Text
|
#!/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
|