using copy-id output instead
This commit is contained in:
parent
ee9589c9ad
commit
3e85245359
2
zsh/ssh
2
zsh/ssh
@ -12,7 +12,7 @@ WRYN_SSH_DELIMITER=' *| '
|
|||||||
|
|
||||||
WRYN_SSH_ADD_CREDENTIALS() {
|
WRYN_SSH_ADD_CREDENTIALS() {
|
||||||
for key in $(grep -slR "PRIVATE" "$HOME/.ssh"); do
|
for key in $(grep -slR "PRIVATE" "$HOME/.ssh"); do
|
||||||
ssh-add "$key" && { echo "Added $key" } || { echo "Failed to add $key" };
|
ssh-add "$key";
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user