aboutsummaryrefslogtreecommitdiff
path: root/ssh-agent-loadkey
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-08 23:28:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-08 23:28:33 -0300
commitbfd0ff5979052ecb4556264641235e32d04834be (patch)
treeccc047f815875f9397ced582f537add222c8fd0a /ssh-agent-loadkey
parent9188a1f8db885c3dc969b1887a04cc6d5d7befcb (diff)
downloadutils-ssh-bfd0ff5979052ecb4556264641235e32d04834be.tar.gz
utils-ssh-bfd0ff5979052ecb4556264641235e32d04834be.tar.bz2
Fix: typo
Diffstat (limited to 'ssh-agent-loadkey')
-rwxr-xr-xssh-agent-loadkey2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-agent-loadkey b/ssh-agent-loadkey
index c49baca..45a941d 100755
--- a/ssh-agent-loadkey
+++ b/ssh-agent-loadkey
@@ -16,7 +16,7 @@ fi
# Get available keys
function __query {
(
- cd $KEYS && find -name '*.pub' | sed -e 's/.pub$//' | grep -v decomissioned | while read line; do
+ cd $KEYS && find -name '*.pub' | sed -e 's/.pub$//' | grep -v decommissioned | while read line; do
# See https://security.stackexchange.com/questions/129724/how-to-check-if-an-ssh-private-key-has-passphrase-or-not#129727
#if grep -q ',ENCRYPTED' $line; then
if ! ssh-keygen -y -P "" -f $line &> /dev/null; then