[bin] Add ssh-askpas loader
This commit is contained in:
9
bin/.local/bin/ssh-askpass-load-keys
Executable file
9
bin/.local/bin/ssh-askpass-load-keys
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Load keys if agent empty
|
||||
if ! ssh-add -l >/dev/null 2>&1; then
|
||||
~/.local/bin/load_keys >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
# return empty passphrase
|
||||
echo ""
|
||||
Reference in New Issue
Block a user